{"id":47026278,"url":"https://github.com/ohcnetwork/deployments_registry","last_synced_at":"2026-03-11T23:19:11.354Z","repository":{"id":325604923,"uuid":"1101315020","full_name":"ohcnetwork/deployments_registry","owner":"ohcnetwork","description":"All Care Deployments","archived":false,"fork":false,"pushed_at":"2025-12-04T08:43:14.000Z","size":627,"stargazers_count":0,"open_issues_count":2,"forks_count":1,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-12-07T16:17:34.455Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://deployments.ohc.network","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/ohcnetwork.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":"2025-11-21T13:59:03.000Z","updated_at":"2025-12-04T08:43:18.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/ohcnetwork/deployments_registry","commit_stats":null,"previous_names":["ohcnetwork/deployments_registry"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ohcnetwork/deployments_registry","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ohcnetwork%2Fdeployments_registry","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ohcnetwork%2Fdeployments_registry/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ohcnetwork%2Fdeployments_registry/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ohcnetwork%2Fdeployments_registry/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ohcnetwork","download_url":"https://codeload.github.com/ohcnetwork/deployments_registry/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ohcnetwork%2Fdeployments_registry/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30406536,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-11T22:36:59.286Z","status":"ssl_error","status_checked_at":"2026-03-11T22:36:57.544Z","response_time":84,"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":[],"created_at":"2026-03-11T23:19:10.898Z","updated_at":"2026-03-11T23:19:11.349Z","avatar_url":"https://github.com/ohcnetwork.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Deployments Registry\n\nA global, open-source registry that visualizes deployments on an interactive map. Built with Next.js, MapLibre GL JS, and shadcn/ui.\n\n## Features\n\n- 🗺️ **Interactive Map**: Powered by MapLibre GL JS with Maptiler tiles\n- 🌓 **Dark Mode**: Seamless theme switching with next-themes\n- 🔍 **Search \u0026 Filter**: Find deployments by name or filter by program type\n- 📍 **Smart Clustering**: Automatic marker clustering using supercluster\n- 📱 **Responsive Design**: Works seamlessly on desktop, tablet, and mobile\n- 🎨 **White-labelable**: Configure via environment variables\n- 🚀 **Static Export**: Deploy anywhere (Vercel, Netlify, GitHub Pages, etc.)\n\n## Getting Started\n\n### Prerequisites\n\n- Node.js 18+ and pnpm\n- Maptiler API key (free tier: https://cloud.maptiler.com/)\n\n### Installation\n\n1. Clone the repository:\n```bash\ngit clone https://github.com/ohcnetwork/deployments_registry.git\ncd deployments_registry\n```\n\n2. Install dependencies:\n```bash\npnpm install\n```\n\n3. Configure environment variables:\n```bash\ncp .env.example .env.local\n```\n\nEdit `.env.local` and add your Maptiler API key and white-label configuration:\n```env\nNEXT_PUBLIC_MAPTILER_API_KEY=your_maptiler_api_key_here\nNEXT_PUBLIC_APP_NAME=Your Deployments Registry\nNEXT_PUBLIC_APP_DESCRIPTION=Your description\nNEXT_PUBLIC_ORGANIZATION_NAME=Your Organization\nNEXT_PUBLIC_ORGANIZATION_URL=https://yoursite.com\n```\n\n4. Run the development server:\n```bash\npnpm dev\n```\n\nOpen [http://localhost:3000](http://localhost:3000) to see the map.\n\n### Build for Production\n\n```bash\npnpm build\n```\n\nThe static files will be generated in the `out/` directory and can be deployed to any static hosting service.\n\n## Data Structure\n\nDeployment data is stored in `public/deployments.json`. Each deployment has:\n\n```typescript\n{\n  \"id\": \"unique-id\",\n  \"name\": \"Deployment Name\",\n  \"description\": \"Description\",\n  \"program\": \"10bedicu\" | \"keralacare\" | \"palliative-ngo\" | \"hmis\",\n  \"location\": {\n    \"latitude\": 0.0,\n    \"longitude\": 0.0,\n    \"address\": {\n      \"city\": \"City\",\n      \"country\": \"Country\"\n    }\n  },\n  \"dateDeployed\": \"2024-01-01\",  // Optional\n  \"website\": \"https://...\",       // Optional\n  \"status\": \"active\"              // Optional\n}\n```\n\n## White-labeling\n\nThe application can be white-labeled through environment variables:\n\n- `NEXT_PUBLIC_APP_NAME`: Application title\n- `NEXT_PUBLIC_APP_DESCRIPTION`: Meta description for SEO\n- `NEXT_PUBLIC_ORGANIZATION_NAME`: Organization name shown in header\n- `NEXT_PUBLIC_ORGANIZATION_URL`: Link to organization website\n\n## Tech Stack\n\n- **Framework**: Next.js 16 with App Router\n- **Mapping**: MapLibre GL JS + Maptiler\n- **UI**: shadcn/ui + Tailwind CSS\n- **Theme**: next-themes\n- **Clustering**: supercluster\n- **Language**: TypeScript\n\n## Project Structure\n\n```\ndeployments_registry/\n├── app/                    # Next.js app router\n│   ├── layout.tsx         # Root layout with theme provider\n│   ├── page.tsx           # Main page\n│   └── globals.css        # Global styles\n├── components/\n│   ├── map/               # Map-related components\n│   │   ├── deployment-map.tsx\n│   │   └── map-popup.tsx\n│   ├── filters/           # Filter components\n│   │   └── deployment-filters.tsx\n│   ├── ui/                # shadcn components\n│   └── theme-provider.tsx\n├── lib/\n│   ├── config.ts          # Environment config\n│   ├── data.ts            # Data loading utilities\n│   ├── map-utils.ts       # Map helper functions\n│   └── utils.ts           # General utilities\n├── types/\n│   └── deployment.ts      # TypeScript types\n├── public/\n│   └── deployments.json   # Deployment data\n└── next.config.ts         # Next.js configuration\n```\n\n## License\n\nMIT License - see [LICENSE](LICENSE) file\n\n## Contributing\n\nContributions are welcome! Please feel free to submit a Pull Request.\n\n---\n\nBuilt with ❤️ by [Open Healthcare Network](https://ohc.network)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fohcnetwork%2Fdeployments_registry","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fohcnetwork%2Fdeployments_registry","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fohcnetwork%2Fdeployments_registry/lists"}