{"id":51512857,"url":"https://github.com/vityasyyy/melukisambelia","last_synced_at":"2026-07-08T08:02:07.904Z","repository":{"id":366099280,"uuid":"1274961170","full_name":"vityasyyy/melukisambelia","owner":"vityasyyy","description":"Web KKN Melukis Sambelia","archived":false,"fork":false,"pushed_at":"2026-07-08T03:46:42.000Z","size":118920,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-07-08T05:14:35.267Z","etag":null,"topics":["cms","frontend","kkn","website"],"latest_commit_sha":null,"homepage":"https://melukisambelia.site","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vityasyyy.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-06-20T04:49:52.000Z","updated_at":"2026-07-08T03:46:45.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/vityasyyy/melukisambelia","commit_stats":null,"previous_names":["vityasyyy/melukisambelia"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/vityasyyy/melukisambelia","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vityasyyy%2Fmelukisambelia","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vityasyyy%2Fmelukisambelia/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vityasyyy%2Fmelukisambelia/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vityasyyy%2Fmelukisambelia/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vityasyyy","download_url":"https://codeload.github.com/vityasyyy/melukisambelia/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vityasyyy%2Fmelukisambelia/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35257127,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-08T02:00:06.796Z","response_time":61,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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","frontend","kkn","website"],"created_at":"2026-07-08T08:02:07.110Z","updated_at":"2026-07-08T08:02:07.893Z","avatar_url":"https://github.com/vityasyyy.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Melukis Sambelia\n\nPortal informasi Kecamatan Sambelia, Kabupaten Lombok Timur, Nusa Tenggara Barat — dibangun oleh Tim KKN-PPM UGM Melukis Sambelia.\n\n## Tech Stack\n\n- **Framework:** Next.js 14 (App Router)\n- **Styling:** Tailwind CSS + custom design tokens\n- **CMS:** Decap CMS (formerly Netlify CMS) — content managed via `/admin`\n- **Validation:** Zod schemas for all content frontmatter\n- **Maps:** Google Maps embed (no API key) + GIS manifest\n- **Charts:** Recharts (air-tanah TMA/DHL data)\n- **Animations:** Framer Motion\n- **Deploy:** Vercel\n\n## Quick Start\n\n```bash\nnpm install          # Install dependencies\nnpm run dev          # Start development server (http://localhost:3000)\nnpm run cms          # Start Decap CMS local proxy (separate terminal)\nnpm run build        # Production build (includes GIS manifest + image checks)\nnpm run test         # Run unit tests (Vitest)\nnpm run lint         # ESLint\nnpm run typecheck    # TypeScript type checking\nnpm run validate     # Validate content frontmatter\n```\n\n## Project Structure\n\n```\n├── app/                    # Next.js App Router pages\n│   ├── page.tsx            # Homepage\n│   ├── layout.tsx          # Root layout (nav, footer, fonts)\n│   ├── error.tsx           # Error boundary\n│   ├── not-found.tsx       # 404 page\n│   ├── changelog/          # Git-log changelog\n│   ├── pariwisata/         # Tourism pages\n│   ├── irigasi/            # Irrigation pages\n│   ├── kesehatan/          # Health pages\n│   ├── umkm/               # UMKM pages\n│   ├── festival/           # Festival pages\n│   ├── kegiatan/           # Activities pages\n│   ├── peta/               # Interactive map page + PetaClient\n│   ├── lingkungan/         # Environment pages\n│   ├── air-tanah/          # Groundwater pages\n│   ├── tentang-sambelia/   # About page\n│   └── api/auth/           # Decap CMS OAuth endpoint\n├── components/             # React components\n│   ├── Nav.tsx             # Navigation\n│   ├── Footer.tsx          # Footer\n│   ├── DataCard.tsx        # Content card\n│   ├── DetailModal*.tsx    # Map detail modal\n│   ├── PageHero.tsx        # Page hero banner\n│   ├── EmptyState.tsx      # Empty state message\n│   └── ui/                 # Radix UI primitives\n├── content/                # Markdown/MDX content (CMS-managed)\n│   ├── _settings.md        # Site-wide settings\n│   ├── _tentang.md         # About page prose\n│   ├── _gismap.md          # GIS manifest metadata\n│   ├── _gis_*.md           # GIS category metadata\n│   ├── changelog.json      # Auto-generated git log\n│   ├── pariwisata/         # Tourism entries (.mdx)\n│   ├── irigasi/            # Irrigation entries (.md)\n│   ├── kesehatan/          # Health entries (.md)\n│   ├── umkm/               # UMKM entries (.md)\n│   ├── festival/           # Festival entries (.md)\n│   ├── kegiatan/           # Activity entries (.mdx)\n│   ├── lingkungan/         # Environment entries (.md)\n│   ├── desa/               # Village entries (.md)\n│   └── air-tanah/          # Groundwater data (.md)\n├── lib/                    # Core logic\n│   ├── config.ts           # SITE_URL, REVALIDATE_SECONDS, etc.\n│   ├── schemas.ts          # Zod schemas for all content types\n│   ├── content.ts           # getCollection(), getEntry()\n│   ├── settings.ts         # getSettings(), getPageSettings(), etc.\n│   ├── map.ts              # Map marker aggregation\n│   ├── map-types.ts        # MapLayer, MapMarker types\n│   ├── gis-manifest.ts     # GIS file manifest reader\n│   ├── jsonld.ts           # JSON-LD structured data\n│   ├── links.ts            # URL helpers (petaLink)\n│   └── utils.ts            # Tailwind merge utility\n├── public/\n│   ├── admin/config.yml    # Decap CMS configuration\n│   ├── gis/                # GIS map files (GeoJSON, images, PDF)\n│   ├── images/             # Static images\n│   └── fonts/              # Custom fonts\n├── scripts/\n│   ├── build-gis-manifest.mjs  # Generate GIS manifest\n│   ├── generate-changelog.mjs  # Generate changelog from git log\n│   ├── generate-og.mjs          # Generate OG images\n│   ├── check-images.mjs        # Verify image references\n│   ├── import-xlsx.mjs         # Import Excel data\n│   ├── make-placeholder.mjs    # Generate placeholder images\n│   └── validate-content.mjs    # Validate frontmatter schemas\n├── tests/                  # Vitest unit tests + Playwright e2e\n└── docs/                   # Documentation\n```\n\n## Content Collections\n\n| Collection | Folder | Format | CMS Editable |\n|---|---|---|---|\n| Pariwisata | `content/pariwisata/` | `.mdx` | Yes |\n| Irigasi | `content/irigasi/` | `.md` | Yes |\n| Kesehatan | `content/kesehatan/` | `.md` | Yes |\n| UMKM | `content/umkm/` | `.md` | Yes |\n| Festival | `content/festival/` | `.md` | Yes |\n| Kegiatan | `content/kegiatan/` | `.mdx` | Yes |\n| Lingkungan | `content/lingkungan/` | `.md` | Yes |\n| Desa | `content/desa/` | `.md` | Yes |\n| Air \u0026 Tanah | `content/air-tanah/` | `.md` | Yes (single file) |\n| Settings | `content/_settings.md` | `.md` | Yes |\n| Tentang | `content/_tentang.md` | `.md` | Yes |\n\nEach entry has frontmatter validated by Zod schemas in `lib/schemas.ts`. Common fields include `order` (sort order) and `googleMapsUrl` (for map locations) on geospatial collections.\n\n## CMS Access\n\n- **Local:** Run `npm run dev` + `npm run cms`, then visit `http://localhost:3000/admin`\n- **Production:** Visit `https://melukis-sambelia.vercel.app/admin` and login with GitHub\n\nSee [docs/CMS_GUIDE_NON_TECHNICAL.md](docs/CMS_GUIDE_NON_TECHNICAL.md) for a step-by-step guide for non-technical collaborators.\n\n## Documentation\n\n| Document | Description |\n|---|---|\n| [CONTENT_ADMIN_GUIDE.md](docs/CONTENT_ADMIN_GUIDE.md) | Complete field-by-field reference for all CMS collections and settings |\n| [OPERATIONS_GUIDE.md](docs/OPERATIONS_GUIDE.md) | Daily operations: running locally, editing content, deploying, troubleshooting |\n| [CMS_GUIDE_NON_TECHNICAL.md](docs/CMS_GUIDE_NON_TECHNICAL.md) | Step-by-step CMS guide for non-IT collaborators |\n| [CONTENT_GUIDE.md](docs/CONTENT_GUIDE.md) | Technical guide for content contribution (frontmatter, GIS, verification) |\n| [deploy-guide.md](docs/deploy-guide.md) | Step-by-step Vercel deployment and OAuth setup |\n| [decap-oauth-setup.md](docs/decap-oauth-setup.md) | GitHub OAuth setup for Decap CMS |\n\n## Configuration\n\n- `lib/config.ts` — `SITE_URL`, `SITE_NAME`, `SITE_DESCRIPTION`, `REVALIDATE_SECONDS`\n- `public/admin/config.yml` — Decap CMS collections and fields\n- `content/_settings.md` — All site content text (hero, stats, page headers, empty states, footer)\n- Environment variables: `NEXT_PUBLIC_SITE_URL` (overrides default URL), `GITHUB_OAUTH_CLIENT_ID`, `GITHUB_OAUTH_CLIENT_SECRET`\n\n## License\n\n© 2026 KKN-PPM UGM Melukis Sambelia","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvityasyyy%2Fmelukisambelia","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvityasyyy%2Fmelukisambelia","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvityasyyy%2Fmelukisambelia/lists"}