{"id":22160661,"url":"https://github.com/nerkarso/gnotion","last_synced_at":"2025-07-26T09:31:48.194Z","repository":{"id":60235655,"uuid":"523944310","full_name":"nerkarso/gnotion","owner":"nerkarso","description":"Turn your Notion pages into a website with instant page loads and SEO optimization","archived":false,"fork":false,"pushed_at":"2024-11-18T12:20:10.000Z","size":870,"stargazers_count":3,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-11-18T13:42:30.485Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://gnotion.vercel.app","language":"TypeScript","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/nerkarso.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}},"created_at":"2022-08-12T03:34:33.000Z","updated_at":"2024-11-18T12:20:14.000Z","dependencies_parsed_at":"2024-11-18T13:30:00.601Z","dependency_job_id":"c886899a-f1de-4159-8706-d4ef34b0175c","html_url":"https://github.com/nerkarso/gnotion","commit_stats":null,"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nerkarso%2Fgnotion","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nerkarso%2Fgnotion/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nerkarso%2Fgnotion/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nerkarso%2Fgnotion/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nerkarso","download_url":"https://codeload.github.com/nerkarso/gnotion/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":227668768,"owners_count":17801513,"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":[],"created_at":"2024-12-02T04:09:11.451Z","updated_at":"2024-12-02T04:09:11.952Z","avatar_url":"https://github.com/nerkarso.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# gnotion\n\nTurn your Notion pages into a website with instant page loads and SEO optimization.\n\n## Usage\n\nLet's assume you have this [Notion page](https://www.notion.so/nerkarso/Example-8a3e3cf883454b9ca073b125e88715b4) and you want to turn it into a website, then follow these steps:\n\n1. Open Notion page.\n2. **Share** \u003e toggle **Share to web**.\n3. Turn this: `https://www.notion.so/nerkarso/Example-8a3e3cf883454b9ca073b125e88715b4`\n4. Into this: `http://localhost:3000/Example-8a3e3cf883454b9ca073b125e88715b4`\n\n## Environment Variables\n\nCreate a `.env.local` file and add the following:\n\n```sh\nNEXT_PUBLIC_FAVICON=\"/img/favicon.png\"\nNEXT_PUBLIC_OG_IMAGE=\"/img/og-image.png\"\nNEXT_PUBLIC_PLACEHOLDER_IMAGE=\"/img/placeholder.png\"\nNEXT_PUBLIC_REVALIDATE_TOKEN=\"gnotion\"\nNEXT_PUBLIC_SITE_TITLE=\"Docs\"\nNEXT_PUBLIC_SITE_URL=\"https://gnotion.vercel.app\"\nNEXT_PUBLIC_THEME_FONT_FAMILY=\"Proxima Nova\"\nNEXT_PUBLIC_THEME_PRIMARY_COLOR=\"#3399ff\"\nNEXT_PUBLIC_AUTH_ENABLED=true\nNEXT_PUBLIC_AUTH_PASSWORDS=1\n```\n\n## Generate Open Graph Image\n\n```sh\nhttp://localhost:3000/api/og-image?subtitle=Docs\u0026title=Web%20Development\u0026image=https://gnotion.vercel.app/img/placeholder.png\n```\n\n## Incremental Static Regeneration\n\nNext.js allows you to create or update static pages after you’ve built your site. Starting with v12.2.0, Next.js supports On-Demand Incremental Static Regeneration to manually purge the Next.js cache for a specific page.\n\n```sh\ncurl http://localhost:3000/api/revalidate?token=xxxxxx\u0026path=/path/to\n```\n\n- `token`: replace with your `NEXT_PUBLIC_REVALIDATE_TOKEN`.\n- `path`: the exact path that you want revalidated.\n\n\n## License\n\n[MIT License](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnerkarso%2Fgnotion","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnerkarso%2Fgnotion","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnerkarso%2Fgnotion/lists"}