{"id":15061229,"url":"https://github.com/imprisonedmind/notion-next-blog","last_synced_at":"2026-02-06T06:03:05.775Z","repository":{"id":239497233,"uuid":"799687516","full_name":"imprisonedmind/notion-next-blog","owner":"imprisonedmind","description":"a blog relying fully on notion, running on Next.js \u0026 shadcn","archived":false,"fork":false,"pushed_at":"2024-07-02T00:05:52.000Z","size":16177,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-25T17:07:23.089Z","etag":null,"topics":["blog","nextjs","notion","shadcn","shadcn-ui"],"latest_commit_sha":null,"homepage":"https://notion-nextjs-bloggin.vercel.app/home","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/imprisonedmind.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":"2024-05-12T21:38:51.000Z","updated_at":"2025-04-10T20:53:16.000Z","dependencies_parsed_at":"2024-06-27T20:24:53.569Z","dependency_job_id":"e4d1cb27-7622-4d53-a735-82897b423762","html_url":"https://github.com/imprisonedmind/notion-next-blog","commit_stats":null,"previous_names":["imprisonedmind/notion-next-blog"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/imprisonedmind/notion-next-blog","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imprisonedmind%2Fnotion-next-blog","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imprisonedmind%2Fnotion-next-blog/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imprisonedmind%2Fnotion-next-blog/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imprisonedmind%2Fnotion-next-blog/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/imprisonedmind","download_url":"https://codeload.github.com/imprisonedmind/notion-next-blog/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imprisonedmind%2Fnotion-next-blog/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29153144,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-06T02:39:25.012Z","status":"ssl_error","status_checked_at":"2026-02-06T02:37:22.784Z","response_time":59,"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":["blog","nextjs","notion","shadcn","shadcn-ui"],"created_at":"2024-09-24T23:12:12.818Z","updated_at":"2026-02-06T06:03:05.753Z","avatar_url":"https://github.com/imprisonedmind.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Notion-Next.js Blog\n\nThis project is a dynamic blog built with Next.js, leveraging Notion as both the writing environment and database for blog posts. It aims to simplify content management and publication flow, allowing writers and developers to collaborate efficiently within a single, unified platform.\n\n[![YouTube Video](https://img.youtube.com/vi/fFp-jGz9PYw/0.jpg)](https://www.youtube.com/watch?v=fFp-jGz9PYw)\n\n## Features\n\n- **Notion as CMS**: Use Notion for creating, organizing, and managing blog posts.\n- **Dynamic Content Rendering**: Blog posts are rendered dynamically on the website using Next.js.\n- **SEO Friendly**: Optimized for search engines, ensuring broad visibility of your content.\n- **Responsive Design**: Built on top of [shadcn](https://github.com/shadcn-ui/ui), \n  Ensures a smooth reading experience on \n  any \n  device.\n\n\n\n## Getting Started\n\nThese instructions will get your copy of the project up and running on your local machine for development and testing purposes.\n\n### Prerequisites\n\nBefore cloning the repo, ensure you have the following tools installed:\n\n- Node.js (version 20.x or later)\n- bun (version 1.x or later)\n\n### Installation\n\n1. **Clone the repository**\n\n```sh\ngit clone https://github.com/imprisonedmind/notion-next-blog.git\n```\n\n2. **Navigate to the project directory**\n\n```sh\ncd notion-next-blog\n```\n\n3. **Install dependencies**\n\n```sh\nbun install\n```\n\n4. **Environment Configuration**\n\nCreate a `.env.local` file at the root of your project and add your Notion integration tokens and any other configuration parameters your project might need. For example:\n\n```sh\nAUTH_TOKEN=\u003cyour_notion_api_key\u003e\nDATABASE_ID=\u003cyour_notion_database_id\u003e\n```\n\n5. **Run the development server**\n\n```sh\nbun dev\n```\n\nOpen http://localhost:3000 with your browser to see the result.\n\n## How to Write Blog Posts\n\n1. **Setting up a Notion Database**: Create a Notion database for your blog posts. Each database entry will correspond to a blog post on your site.\n   \n2. **Writing Blog Posts**: Write your blog posts directly in Notion. Use the properties in the database to add metadata like the post's title, description, and publication date.\n\n3. **Integrating with the Blog**: Use the Notion API to fetch the content from your database and display it on your Next.js site.\n\nRefer to the `/lib/notion.js` module for examples on how to query the Notion API for your posts.\n\n## Contributing\n\nWe welcome contributions to this project! Whether it's submitting bug reports, feature requests, or submitting pull requests, all forms of contributions are appreciated.\n\nPlease refer to CONTRIBUTING.md for more details on how to contribute.\n\n## Deploying\n\nFor deploying your Next.js application, consider using Vercel, which provides seamless deployment for Next.js projects.\n\n1. **Push your code** to your repository.\n2. **Import your project** on [Vercel](https://vercel.com).\n3. **Set up environment variables** on Vercel to match those in your `.env.local`.\n\nFor other platforms, refer to the respective documentation on deploying Next.js applications.\n\n## License\n\nThis project is licensed under the [MIT License](LICENSE). See the LICENSE file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fimprisonedmind%2Fnotion-next-blog","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fimprisonedmind%2Fnotion-next-blog","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fimprisonedmind%2Fnotion-next-blog/lists"}