{"id":38556645,"url":"https://github.com/localgod/junviglund-cms","last_synced_at":"2026-01-18T07:52:04.368Z","repository":{"id":187219358,"uuid":"676456862","full_name":"localgod/junviglund-cms","owner":"localgod","description":"CMS backend for junviglund.dk","archived":false,"fork":false,"pushed_at":"2025-12-17T07:24:52.000Z","size":2811,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-20T20:55:20.679Z","etag":null,"topics":["cms","personal","sanity-io","typescript"],"latest_commit_sha":null,"homepage":"","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/localgod.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":"AGENTS.md","dco":null,"cla":null}},"created_at":"2023-08-09T08:40:02.000Z","updated_at":"2025-12-17T07:24:54.000Z","dependencies_parsed_at":"2023-08-09T13:09:56.988Z","dependency_job_id":"2873c2af-c42c-4ee2-aef7-838f487d84e0","html_url":"https://github.com/localgod/junviglund-cms","commit_stats":null,"previous_names":["localgod/junviglund-cms"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/localgod/junviglund-cms","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/localgod%2Fjunviglund-cms","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/localgod%2Fjunviglund-cms/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/localgod%2Fjunviglund-cms/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/localgod%2Fjunviglund-cms/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/localgod","download_url":"https://codeload.github.com/localgod/junviglund-cms/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/localgod%2Fjunviglund-cms/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28523041,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-17T23:53:28.710Z","status":"ssl_error","status_checked_at":"2026-01-17T23:52:20.131Z","response_time":85,"last_error":"SSL_read: 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":["cms","personal","sanity-io","typescript"],"created_at":"2026-01-17T07:43:44.508Z","updated_at":"2026-01-18T07:52:04.336Z","avatar_url":"https://github.com/localgod.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# junviglund-cms\n\nSanity CMS content studio for managing blog content with a structured content model for posts, authors, and categories.\n\n## Overview\n\nThis project provides a headless CMS interface built on Sanity v4, featuring:\n\n- **Post Management** - Blog posts with rich text editing, image galleries, and categorization\n- **Author Profiles** - Author information with biographical content and profile images\n- **Category System** - Organize content by topic\n- **Rich Text Editor** - Flexible block content with headings, lists, links, and embedded images\n- **Image Management** - Hotspot support for focal point control and alt text for accessibility\n\n## Tech Stack\n\n- **Sanity CMS** v4.10.3 - Headless CMS platform\n- **React** 19.0.0 - UI framework\n- **TypeScript** 5.9.3 - Type-safe development\n- **Node.js** v22 LTS - Runtime environment\n- **ESLint** - Modern flat config with Sanity studio rules\n- **Vite** - Build tooling\n\n## Getting Started\n\n### Prerequisites\n\n- Node.js v22 LTS\n- npm\n\n### Installation\n\n```bash\nnpm install\n```\n\n### Development\n\nStart the development server:\n\n```bash\nnpm run dev\n```\n\nThe studio will be available at the provided URL (default port 3333).\n\n### Building\n\nBuild for production:\n\n```bash\nnpm run build\n```\n\n### Deployment\n\nDeploy to Sanity hosting:\n\n```bash\nnpm run deploy\n```\n\nDeploy GraphQL API:\n\n```bash\nnpm run deploy-graphql\n```\n\n## Project Structure\n\n```\njunviglund-cms/\n├── schemas/              # Sanity schema definitions\n│   ├── post.ts          # Blog post schema\n│   ├── author.ts        # Author profile schema\n│   ├── category.ts      # Category schema\n│   └── blockContent.ts  # Rich text editor config\n├── .github/workflows/   # CI/CD workflows\n├── sanity.config.ts     # Main Sanity configuration\n└── sanity.cli.ts        # CLI configuration\n```\n\n## Content Model\n\n### Post\n- Title (required)\n- Slug (required, auto-generated)\n- Author (reference)\n- Main image with alt text\n- Image gallery\n- Categories (multiple)\n- Published date (auto-populated)\n- Rich text body\n\n### Author\n- Name (required)\n- Slug (required, auto-generated)\n- Profile image with alt text\n- Biography\n\n### Category\n- Title (required)\n- Description\n\n## Scripts\n\n```bash\nnpm run dev              # Start development server\nnpm run build            # Build production bundle\nnpm run deploy           # Deploy studio to Sanity hosting\nnpm run deploy-graphql   # Deploy GraphQL API\nnpm run lint             # Lint TypeScript files\nnpm run lintfix          # Auto-fix linting issues\nnpm run export           # Export production dataset\nnpm run import           # Import dataset to stage\n```\n\n## Configuration\n\n### Datasets\n\nThe active dataset is controlled by the `SANITY_DATASET` environment variable:\n\n```bash\nSANITY_DATASET=production npm run dev\n```\n\nDefault: `stage`\n\n### Project Details\n\n- **Project ID**: `uy0ayswl`\n- **Studio URL**: [https://junviglund.sanity.studio](https://junviglund.sanity.studio)\n\n## Development Environment\n\nThis project includes:\n\n- **Dev Container** configuration for consistent development environments\n- **GitHub Actions** workflows for CI/CD\n- **Dependabot** for automated dependency updates\n- **ESLint** with modern flat config format\n\n## License\n\nUNLICENSED - Private project\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flocalgod%2Fjunviglund-cms","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flocalgod%2Fjunviglund-cms","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flocalgod%2Fjunviglund-cms/lists"}