{"id":24408913,"url":"https://github.com/codesandtags/blog","last_synced_at":"2026-03-09T20:03:27.047Z","repository":{"id":38427571,"uuid":"260325873","full_name":"codesandtags/blog","owner":"codesandtags","description":"📝This is my personal blog and portfolio to connect my code, experiences and learnings with the world. 🌎♥️","archived":false,"fork":false,"pushed_at":"2025-12-06T04:27:36.000Z","size":21259,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-12-09T21:20:31.890Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://codesandtags.github.io/blog/","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/codesandtags.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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,"zenodo":null}},"created_at":"2020-04-30T21:51:28.000Z","updated_at":"2025-12-06T04:27:39.000Z","dependencies_parsed_at":"2025-04-12T02:04:22.826Z","dependency_job_id":"be8d1dbb-4b9d-46f5-96d0-e8406d2f1ce9","html_url":"https://github.com/codesandtags/blog","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/codesandtags/blog","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codesandtags%2Fblog","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codesandtags%2Fblog/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codesandtags%2Fblog/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codesandtags%2Fblog/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codesandtags","download_url":"https://codeload.github.com/codesandtags/blog/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codesandtags%2Fblog/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30310003,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-09T17:35:44.120Z","status":"ssl_error","status_checked_at":"2026-03-09T17:35:43.707Z","response_time":61,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":[],"created_at":"2025-01-20T05:53:33.600Z","updated_at":"2026-03-09T20:03:27.040Z","avatar_url":"https://github.com/codesandtags.png","language":"Astro","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Codes and Tags Blog\n\nThis is the repository for my personal blog, where I document technical stuff and knowledge that I want to share with the world.\n\n## 🚀 Getting Started\n\n### Prerequisites\n\n- Node.js 18+ and npm (or yarn/pnpm)\n\n### Installation\n\n1. Clone the repository:\n\n```bash\ngit clone https://github.com/codesandtags/blog.git\ncd blog\n```\n\n2. Install dependencies:\n\n```bash\nnpm install\n```\n\n3. Start the development server:\n\n```bash\nnpm run dev\n```\n\nThe blog will be available at `http://localhost:4321`\n\n## 📝 Adding a New Post\n\nTo add a new post, create a new markdown file in the `src/content/blog/` directory. The file name should follow the format `YYYY-MM-DD-title.md`.\n\nExample post structure:\n\n```markdown\n---\ntitle: \"Title of the post\"\ndate: 2024-01-15\nauthor: codesandtags\ncategories: [\"category1\", \"category2\"]\ntags: [\"tag1\", \"tag2\"]\ndraft: false\n---\n\nContent of your post goes here...\n```\n\n### Post Frontmatter\n\n- `title` (required): The post title\n- `date` (required): Publication date (YYYY-MM-DD format)\n- `author` (optional): Author name (defaults to \"codesandtags\")\n- `categories` (optional): Array of category names\n- `tags` (optional): Array of tag names\n- `image` (optional): Path to featured image\n- `draft` (optional): Set to `true` to hide from production\n\n## 🛠️ Available Scripts\n\n- `npm run dev` - Start development server\n- `npm run build` - Build for production (includes Pagefind search index)\n- `npm run preview` - Preview production build locally\n- `npm run migrate:posts` - Run post migration script\n\n## 🏗️ Build \u0026 Deploy\n\nBuild the site:\n\n```bash\nnpm run build\n```\n\nThe output will be in the `dist/` directory, ready to deploy to GitHub Pages or any static hosting service.\n\n## 🎨 Tech Stack\n\n- [Astro](https://astro.build/) - Static site framework\n- [Tailwind CSS](https://tailwindcss.com/) - Utility-first CSS framework\n- [Pagefind](https://pagefind.app/) - Static search library\n- [MDX](https://mdxjs.com/) - Markdown with JSX components\n- [TypeScript](https://www.typescriptlang.org/) - Type safety\n- [GitHub Pages](https://pages.github.com/) - Hosting\n\n## 📁 Project Structure\n\n```\nblog/\n├── src/\n│   ├── components/     # Reusable Astro components\n│   ├── content/        # Blog posts (Markdown/MDX)\n│   ├── layouts/        # Page layouts\n│   ├── pages/          # Route pages\n│   └── utils/          # Utility functions\n├── public/             # Static assets\n└── scripts/            # Migration and utility scripts\n```\n\n## 📄 License\n\nSee [LICENSE](LICENSE) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodesandtags%2Fblog","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodesandtags%2Fblog","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodesandtags%2Fblog/lists"}