{"id":28163876,"url":"https://github.com/williamcachamwri/astro-blog","last_synced_at":"2025-07-09T20:35:03.903Z","repository":{"id":285987609,"uuid":"959973063","full_name":"williamcachamwri/astro-blog","owner":"williamcachamwri","description":"A modern, minimalist, high-performance blog platform built with Astro.js","archived":false,"fork":false,"pushed_at":"2025-04-09T16:02:12.000Z","size":1334,"stargazers_count":9,"open_issues_count":2,"forks_count":4,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-15T11:14:41.064Z","etag":null,"topics":["astrojs-blog","blog","code","developer","website"],"latest_commit_sha":null,"homepage":"https://astro-blog-pi-ashen.vercel.app/","language":"Astro","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/williamcachamwri.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-04-03T16:47:22.000Z","updated_at":"2025-05-09T08:11:43.000Z","dependencies_parsed_at":"2025-04-03T18:43:42.440Z","dependency_job_id":null,"html_url":"https://github.com/williamcachamwri/astro-blog","commit_stats":null,"previous_names":["williamcachamwri/astro-blog"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/williamcachamwri/astro-blog","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/williamcachamwri%2Fastro-blog","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/williamcachamwri%2Fastro-blog/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/williamcachamwri%2Fastro-blog/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/williamcachamwri%2Fastro-blog/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/williamcachamwri","download_url":"https://codeload.github.com/williamcachamwri/astro-blog/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/williamcachamwri%2Fastro-blog/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264502991,"owners_count":23618673,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["astrojs-blog","blog","code","developer","website"],"created_at":"2025-05-15T11:14:40.939Z","updated_at":"2025-07-09T20:35:03.875Z","avatar_url":"https://github.com/williamcachamwri.png","language":"Astro","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# ✨ Astro Blog\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"public/favicon.svg\" alt=\"Astro Blog Logo\" width=\"120\" height=\"120\"\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003cstrong\u003eA modern, minimalist, high-performance blog platform built with Astro.js\u003c/strong\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"#demo\"\u003eDemo\u003c/a\u003e •\n  \u003ca href=\"#features\"\u003eFeatures\u003c/a\u003e •\n  \u003ca href=\"#getting-started\"\u003eGetting Started\u003c/a\u003e •\n  \u003ca href=\"#project-structure\"\u003eProject Structure\u003c/a\u003e •\n  \u003ca href=\"#customization\"\u003eCustomization\u003c/a\u003e •\n  \u003ca href=\"#deployment\"\u003eDeployment\u003c/a\u003e •\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"public/image.png\" alt=\"Astro Blog Screenshot\" width=\"800\"\u003e\n\u003c/p\u003e\n\n## Demo\n\n[View Live Demo](https://astro-blog-pi-ashen.vercel.app/)\n\n## Features\n\n- 🚀 **Maximum Performance** - Built with Astro.js for lightning-fast static sites\n- 🎨 **Minimalist Design** - Clean UI that focuses on content\n- 🌓 **Light/Dark Mode** - Smooth theme switching\n- 📱 **Responsive** - Perfect experience on all devices\n- ⚡ **SPA Transitions** - Smooth page navigation with transition effects\n- 📝 **Markdown \u0026 MDX** - Write posts with Markdown and extend with MDX\n- 🔍 **SEO Optimized** - Meta tags, Open Graph, and Twitter Cards\n- 📊 **Analytics** - Reading time, views, and statistics\n- 🔖 **Categorization** - Tags and categories system\n- 🔄 **RSS Feed** - Automatically generated RSS feed\n- 🎵 **Spotify Integration** - Display currently playing track\n- 🌐 **Internationalization Ready** - Prepared for multiple languages\n- 🔒 **Secure** - No unnecessary client-side JavaScript\n\n## Getting Started\n\n### Requirements\n\n- Node.js 16+ and npm/yarn\n- Spotify account (optional, for Now Playing feature)\n\n### Installation\n\n```bash\n# Clone repository\ngit clone https://github.com/williamcachamwri/astro-blog\n\n# Navigate to project directory\ncd astro-blog\n\n# Install dependencies\nnpm install\n\n# Create .env file from template\ncp .env.example .env\n\n# Edit .env with your information\n```\n\n### Development\n\n```bash\n# Start development server\nnpm run dev\n\n# Open browser at http://localhost:4321\n```\n\n### Build\n\n```bash\n# Create production build\nnpm run build\n\n# Preview production build\nnpm run preview\n```\n\n## Project Structure\n\n```\n/\n├── public/             # Static assets\n├── src/\n│   ├── components/     # Reusable UI components\n│   ├── content/        # Blog content (Markdown/MDX)\n│   ├── layouts/        # Page layouts\n│   ├── pages/          # Pages and routes\n│   ├── styles/         # CSS and Tailwind\n│   └── utils/          # Utilities and helpers\n├── astro.config.mjs    # Astro configuration\n├── tailwind.config.js  # Tailwind configuration\n└── tsconfig.json       # TypeScript configuration\n```\n\n## Customization\n\n### Changing Theme\n\nEdit `tailwind.config.js` to change colors, fonts, and other design variables:\n\n```js\n// tailwind.config.js\nmodule.exports = {\n  theme: {\n    extend: {\n      colors: {\n        primary: {...},\n        secondary: {...}\n      },\n      fontFamily: {\n        sans: ['Inter', ...],\n        serif: [...]\n      }\n    }\n  }\n}\n```\n\n### Adding New Posts\n\nCreate a new Markdown or MDX file in the `src/content/blog` directory:\n\n```md\n---\ntitle: \"Optimizing Web Performance for Better UX\"\ndescription: \"Tips and techniques for improving your website's performance and providing a better user experience.\"\npubDate: 2023-01-18\nheroImage: \"/placeholder.svg?height=630\u0026width=1200\"\nreadingTime: \"8 min read\"\ntags: [\"performance\", \"web development\", \"user experience\"]\n---\n\nYour post content here...\n```\n\n## Spotify Integration\n\nTo enable the \"Now Playing\" feature from Spotify:\n\n1. Create an app at [Spotify Developer Dashboard](https://developer.spotify.com/dashboard/)\n2. Get your Client ID and Client Secret\n3. Add them to your `.env` file:\n\n```env\nSPOTIFY_CLIENT_ID=your_client_id\nSPOTIFY_CLIENT_SECRET=your_client_secret\nSPOTIFY_REFRESH_TOKEN=your_refresh_token\n```\n\n## Deployment\n\n### Netlify\n\n[![Deploy to Netlify](https://www.netlify.com/img/deploy/button.svg)](https://app.netlify.com/start/deploy?repository=https://github.com/williamcachamwri/astro-blog)\n\n### Vercel\n\n[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/clone?repository-url=https://github.com/williamcachamwri/astro-blog)\n---\n\n\u003cp align=\"center\"\u003e\n  Made with ❤️ by \u003ca href=\"https://github.com/williamcachamwri\"\u003eWilliam Cachamwri\u003c/a\u003e\n\u003c/p\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwilliamcachamwri%2Fastro-blog","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwilliamcachamwri%2Fastro-blog","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwilliamcachamwri%2Fastro-blog/lists"}