{"id":22245291,"url":"https://github.com/paulpietzko/astro-sheets","last_synced_at":"2025-03-25T11:14:19.422Z","repository":{"id":265283171,"uuid":"895675162","full_name":"paulpietzko/astro-sheets","owner":"paulpietzko","description":"Astro Sheets is an open-source project that allows the use of Google Sheets as a headless CMS. This solution leverages the simplicity and accessibility of Google Sheets to manage content, while providing a robust API to integrate with your applications.","archived":false,"fork":false,"pushed_at":"2024-12-12T16:08:34.000Z","size":84,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-30T10:17:07.071Z","etag":null,"topics":["astro","astrosheets","cms","google","googlesheets","googlesheetsapi","headless-cms","template"],"latest_commit_sha":null,"homepage":"https://astro-sheets.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/paulpietzko.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-11-28T16:52:40.000Z","updated_at":"2024-12-12T16:08:39.000Z","dependencies_parsed_at":"2024-11-28T21:15:44.876Z","dependency_job_id":null,"html_url":"https://github.com/paulpietzko/astro-sheets","commit_stats":null,"previous_names":["paulpietzko/astro-sheets"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paulpietzko%2Fastro-sheets","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paulpietzko%2Fastro-sheets/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paulpietzko%2Fastro-sheets/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paulpietzko%2Fastro-sheets/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/paulpietzko","download_url":"https://codeload.github.com/paulpietzko/astro-sheets/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245449680,"owners_count":20617190,"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":["astro","astrosheets","cms","google","googlesheets","googlesheetsapi","headless-cms","template"],"created_at":"2024-12-03T05:12:36.428Z","updated_at":"2025-03-25T11:14:19.389Z","avatar_url":"https://github.com/paulpietzko.png","language":"Astro","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Astro-Sheets: Google Sheets as a Headless CMS\n\nAstro-Sheets allows you to turn Google Sheets into a simple, lightweight headless CMS for building blogs or content-driven static sites using the Astro framework. Perfect for small projects or static sites needing easy, dynamic content management.\n\n🌟 Demo: [astro-sheets.vercel.app](https://astro-sheets.vercel.app)           \n📖 Detailed Guide: [Google Sheets as a Simple CMS](https://medium.com/@paul.pietzko/google-sheets-as-a-simple-cms-18ed6c8b838e)  \n📦 GitHub Template: [astro-sheets](https://github.com/paulpietzko/astro-sheets)\n\n## ✨ Features\n\n- Headless CMS using Google Sheets as the backend.\n- Dynamic Content: Update your Google Sheets and reflect changes instantly on your site.\n- SEO-friendly: Powered by Astro's SSR for optimal performance.\n- Lightweight and Easy to Use: No complex setup—just Google Sheets and a few lines of code.\n\n## 🚀 Getting Started\n\n1. **Clone the Template**\n    ```bash\n    git clone https://github.com/paulpietzko/astro-sheets\n    cd astro-sheets\n    npm install\n    ```\n\n2. **Set Up Google Sheets as a CMS**\n    - Create a Google Sheet with columns like Title, Author, Date, and Content.\n    - Follow the guide to create a WebApp Script for Google Sheets to fetch your data dynamically.\n    - Deploy the script and copy the resulting URL.\n\n3. **Connect Your Sheet to Astro**\n    - Replace the Google Sheets WebApp URL in `src/pages/index.astro` with your own:\n    ```javascript\n    const res = await fetch(\"\u003cYour WebApp URL\u003e\");\n    const data = await res.json();\n    ```\n\n4. **Run the Project**\n    - Start the development server:\n    ```bash\n    npm run dev\n    ```\n    - Visit the local server at `http://localhost:4321` to see your blog in action!\n\n## 🛠️ Project Structure\n\nYour project includes the following:\n\n```text\n/\n├── public/ # Static assets\n├── src/\n│ ├── pages/ # Pages like index.astro\n│ └── components/ # Reusable UI components\n└── package.json # Project configuration\n```\n\n## 🧞 Commands\n\n| Command               | Action                                            |\n|-----------------------|---------------------------------------------------|\n| `npm install`         | Installs dependencies                             |\n| `npm run dev`         | Starts local dev server at `localhost:4321`       |\n| `npm run build`       | Builds the production site to `./dist/`           |\n| `npm run preview`     | Previews your build locally before deployment     |\n| `npm run astro ...`   | Run CLI commands like `astro add`, `astro check`  |\n| `npm run astro -- --help` | Get help using the Astro CLI                  |\n\n## 🌍 Live Demo\n\nCheck out the live demo here: [astro-sheets.vercel.app](https://astro-sheets.vercel.app)\n\n## 👀 Learn More\n\n- Detailed Guide: [Google Sheets as a Simple CMS](https://medium.com/@paul.pietzko/google-sheets-as-a-simple-cms-18ed6c8b838e)\n- Astro Documentation: [docs.astro.build](https://docs.astro.build)\n\n## 📜 License\n\nThis project is licensed under the MIT License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpaulpietzko%2Fastro-sheets","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpaulpietzko%2Fastro-sheets","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpaulpietzko%2Fastro-sheets/lists"}