{"id":15996668,"url":"https://github.com/denar90/important-neptune","last_synced_at":"2026-04-13T13:32:35.466Z","repository":{"id":89054049,"uuid":"401242162","full_name":"denar90/important-neptune","owner":"denar90","description":"Jamstack site created with Stackbit","archived":false,"fork":false,"pushed_at":"2021-08-30T06:41:09.000Z","size":2380,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-10-19T00:31:23.733Z","etag":null,"topics":["contentful","headless","jamstack","nextjs","ssg","stackbit","static"],"latest_commit_sha":null,"homepage":"https://jamstack.new","language":"JavaScript","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/denar90.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":"2021-08-30T06:41:04.000Z","updated_at":"2023-03-10T10:07:57.000Z","dependencies_parsed_at":"2023-06-13T17:53:45.419Z","dependency_job_id":null,"html_url":"https://github.com/denar90/important-neptune","commit_stats":{"total_commits":1,"total_committers":1,"mean_commits":1.0,"dds":0.0,"last_synced_commit":"1368e3b89da8a8418bfe0a5e89fea99b7893ef87"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/denar90/important-neptune","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/denar90%2Fimportant-neptune","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/denar90%2Fimportant-neptune/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/denar90%2Fimportant-neptune/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/denar90%2Fimportant-neptune/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/denar90","download_url":"https://codeload.github.com/denar90/important-neptune/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/denar90%2Fimportant-neptune/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31754946,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-13T13:27:56.013Z","status":"ssl_error","status_checked_at":"2026-04-13T13:21:23.512Z","response_time":93,"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":["contentful","headless","jamstack","nextjs","ssg","stackbit","static"],"created_at":"2024-10-08T08:00:27.831Z","updated_at":"2026-04-13T13:32:35.441Z","avatar_url":"https://github.com/denar90.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ✨ Azimuth Next.js Contentful Theme ✨\n\nThis is Stackbit's \"Azimuth\" theme built with [Next.js](https://nextjs.org/) and powered by [Contentful](https://www.contentful.com).\n\nClick the button below to create a new website from this theme using Stackbit\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://app.stackbit.com/create?theme=https://github.com/stackbit-themes/azimuth-nextjs-contentful\u0026utm_source=theme-readme\u0026utm_medium=referral\u0026utm_campaign=stackbit_themes\"\u003e\u003cimg alt=\"Create with Stackbit\" src=\"https://assets.stackbit.com/badge/create-with-stackbit.svg\"/\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n[Live Site Demo](https://themes.stackbit.com/demos/azimuth/)\n\n\u003cimg src=\"https://themes.stackbit.com/images/azimuth-demo-1024x768.png\" width=\"600\"\u003e\n\nYou can use this theme to create a static website hosted by a serverless deployment platform such as [Netlify](https://www.netlify.com) and content stored in [Contentful](https://www.contentful.com).\n\nWhen deploying the website, [Sourcebit](https://github.com/stackbithq/sourcebit) reads the content from Contentful and provides it to Next.js and its React components via props. Once Next.js finishes generating the static website, [Netlify](https://www.netlify.com) pushes the static files to its CDN.\n\n[Sourcebit](https://github.com/stackbithq/sourcebit) and its plugins, specifically [`sourcebit-source-contentful`](https://github.com/stackbithq/sourcebit-source-contentful) and [`sourcebit-target-next`](https://github.com/stackbithq/sourcebit-target-next), are used to read the site's contents from Contentful, normalize it, and provide it to Next.js pages. It also sets up live updates in development mode, allowing you to update the content in Contentful and instantly see your updates in the browser.\n\n\u003cp align=\"center\"\u003e\n\u003cimg src=\"docs/sourcebit-contentful-nextjs.svg\" width=\"320\"\u003e\n\u003c/p\u003e\n\n## Quick Start 🏎\n\n[Create a site](https://app.stackbit.com/create?theme=https://github.com/stackbit-themes/azimuth-nextjs-contentful\u0026utm_source=theme-readme\u0026utm_medium=referral\u0026utm_campaign=stackbit_themes) from this theme using Stackbit.\n\nStackbit will execute the following steps for you\n\n- Create a new GitHub repository with the contents of this repository.\n- Create a new [Contentful](https://www.contentful.com) project.\n- Create [Netlify](https://www.netlify.com) site connected to the GitHub repo\n- Deploy the Netlify site.\n- Create a Stackbit project that will allow you to edit your website via on-page visual editing experience.\n\nAdditionally, Stackbit will connect all services:\n\n- Create a \"commit\" webhook in GitHub that will trigger Netlify deployment as\n  soon as a new commit is pushed to GitHub.\n- Create a \"publish\" webhook in Contentful that will trigger Netlify deployment as\n  soon as content is published in Contentful.\n\n\n## Editing Content 📝\n\nOnce Stackbit creates a site, you can start editing the content using the free on-page editing experience provided by the [Stackbit Studio](https://stackbit.com?utm_source=project-readme\u0026utm_medium=referral\u0026utm_campaign=user_themes).\n\n[![](https://i3.ytimg.com/vi/zd9lGRLVDm4/hqdefault.jpg)](https://stackbit.link/project-readme-lead-video)\n\nHere's a few resources to get you started:\n\n- 📺 \u0026nbsp; [Editing Content](https://stackbit.link/project-readme-editing-video)\n- 📺 \u0026nbsp; [Adding, Reordering and Deleting Items](https://stackbit.link/project-readme-adding-video)\n- 📺 \u0026nbsp; [Collaboration](https://stackbit.link/project-readme-collaboration-video)\n- 📺 \u0026nbsp; [Publishing](https://stackbit.link/project-readme-publishing-video)\n- 📚 \u0026nbsp; [Stackbit Documentation](https://stackbit.link/project-readme-documentation)\n\nIf you need a hand, make sure to check the [Stackbit support page](https://stackbit.link/project-readme-support).\n\n\n## Develop Locally 💻\n\n1. [Create a site](https://app.stackbit.com/create?theme=https://github.com/stackbit-themes/azimuth-nextjs-contentful\u0026utm_source=theme-readme\u0026utm_medium=referral\u0026utm_campaign=stackbit_themes) from this theme using Stackbit.\n\n1. Stackbit will create a new GitHub repository, a [Contentful](https://www.contentful.com) project, and deploy a live site using [Netlify](https://www.netlify.com).\n\n1. Once finished, you will be redirected to Stackbit Studio, where you will be able to edit the content using the free on-page editing experience and publish new versions of your site\n\n1. To develop your site locally, clone the generated repository.\n\n1. Install npm dependencies:\n   \n   ```shell\n   npm install\n   ```\n\n1. Set the following environment variables locally.\n\n   - `CONTENTFUL_SPACE_ID` - Contentful Space ID. You can acquire the space ID from Contentful's app URL: https://app.contentful.com/spaces/\u003cSPACE_ID\u003e.\n   - `CONTENTFUL_PREVIEW_TOKEN` - Content Preview API - access token. You can acquire from Contentful's app in API Key's section - \"Settings\" =\u003e \"API Keys\" =\u003e \"Content delivery / preview tokens\" =\u003e \"Add API Key\" or pick one Stackbit generated for you.\n\n1. Start the Next.js local development server:\n\n   ```shell\n   npm run dev\n   ```\n\n1. Open [http://localhost:3000/](http://localhost:3000/) in the browser. You can now edit the site code and contents in Contentful, and the browser will live-update your changes. 🎉\n\n\n## Building for production 🏗\n\nTo build a static site for production, run the following command\n\n```shell\nnpm run build\n```\n\nThe generated site will be written to the `out` folder. The contents of this folder can be deployed by a serverless deployment platform such as [Netlify](https://www.netlify.com). You can start a local server serving the static files from the `out` folder, for example, by installing and running `http-server`:\n\n```shell\nnpm install http-server -g\nhttp-server out\n```\n\n\n## Contributing 🙏\n\nTo contribute to this theme, please follow the following steps:\n\n1. Clone this repository locally\n\n1. Create a new Space in Contentful\n\n1. Create new Contentful Personal Access Tokens [here](https://app.contentful.com/account/profile/cma_tokens/)\n\n1. Install dependencies\n\n   ```shell\n   npm install\n   ```\n\n1. Import the Contentful data stored in the `contentful/export.json` file to the new space by running the following command. Replace the `\u003cmanagement_token\u003e` with your Personal Access Token and the `\u003cspace_id\u003e` with the new space ID.\n\n   ```shell\n   ./contentful/import.js \u003cmanagement_token\u003e \u003cspace_id\u003e\n   ```\n\n1. Create \"**Content Preview API - Access Token**\" for the new space via Contentful app \"Settings\" =\u003e \"API Keys\" =\u003e \"Content delivery / preview tokens\" =\u003e \"Add API Key\".\n\n1. Define the following environment variables to allow Next.js to fetch the content from Contentful when developing or building the site. Replace the `{SPACE_ID}` with your Space ID and the `{CPA}` with the new **Content Preview API - Access Token**.\n\n   ```shell\n   export CONTENTFUL_SPACE_ID={SPACE_ID}\n   export CONTENTFUL_PREVIEW_TOKEN={CPA}\n   ```\n\n1. Lastly, run the Next.js development server:\n\n   ```shell\n   npm run dev\n   ```\n\n   Navigate to [http://localhost:3000](http://localhost:3000) to see the site.\n   \n1. Now you can update site code, and the content in Contentful. The browser will automatically live-update your changes.\n\n1. Once you finish updating the code and contents, export the contents back to the `contentful/export.json` file by running the following command. Replace the `\u003cmanagement_token\u003e` with your Personal Access Token and the `\u003cspace_id\u003e` with the new space ID.\n\n   ```shell\n   ./contentful/export.js \u003cmanagement_token\u003e \u003cspace_id\u003e\n   ```\n\n1. Commit, push and submit a pull-request 🎉\n\n\n## Learn More 📚\n\nTo learn more about Stackbit, take a look at the following resources:\n\n- [Stackbit Documentation](https://www.stackbit.com/docs/)\n- Configure your theme using [stackbit.yaml](https://www.stackbit.com/docs/stackbit-yaml/)\n\nTo learn more about Next.js, take a look at the following resources:\n\n- [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API.\n- [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial.\n\nTo learn more about Contentful, take a look at the following resources:\n\n- [Contentful Docs](https://www.contentful.com/developers/docs/)\n- [Importing and exporting content with the Contentful CLI](https://www.contentful.com/developers/docs/tutorials/cli/import-and-export/)\n\nTo learn more about Netlify, take a look at the following resources:\n\n- [Netlify Docs](https://docs.netlify.com/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdenar90%2Fimportant-neptune","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdenar90%2Fimportant-neptune","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdenar90%2Fimportant-neptune/lists"}