{"id":50938673,"url":"https://github.com/corychainsman/citymath","last_synced_at":"2026-06-17T11:38:00.344Z","repository":{"id":355313205,"uuid":"1227601391","full_name":"corychainsman/citymath","owner":"corychainsman","description":"https://corychainsman.github.io/citymath/","archived":false,"fork":false,"pushed_at":"2026-05-02T23:24:20.000Z","size":29,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-03T01:22:19.376Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/corychainsman.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-05-02T22:58:39.000Z","updated_at":"2026-05-02T23:24:23.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/corychainsman/citymath","commit_stats":null,"previous_names":["corychainsman/citymath"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/corychainsman/citymath","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/corychainsman%2Fcitymath","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/corychainsman%2Fcitymath/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/corychainsman%2Fcitymath/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/corychainsman%2Fcitymath/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/corychainsman","download_url":"https://codeload.github.com/corychainsman/citymath/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/corychainsman%2Fcitymath/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34447266,"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-06-17T02:00:05.408Z","response_time":127,"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":[],"created_at":"2026-06-17T11:37:58.927Z","updated_at":"2026-06-17T11:38:00.338Z","avatar_url":"https://github.com/corychainsman.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Citymath\n\n**Live site: https://corychainsman.github.io/citymath/**\n\nMobile-first interactive comparison of US city populations. Add cities to unnamed stacks and compare the stack totals on a shared horizontal scale.\n\nStack choices are stored in the URL — share a link to share a comparison:\n\n```\n/?stacks=new-york,philadelphia,boston;los-angeles,san-diego,san-jose\n```\n\n## Run locally\n\n```bash\nnpm install\nnpm run dev\n```\n\nThen open the URL Vite prints (usually `http://localhost:5173`).\n\n## Build for production\n\n```bash\nnpm run build       # outputs to dist/\nnpm run preview     # serves the dist/ folder locally\n```\n\n## Deploy\n\n### Option A — GitHub Pages (auto, recommended)\n\nThis repo ships with a workflow at `.github/workflows/deploy.yml` that builds and deploys on every push to `main`.\n\n1. Push the repo to GitHub.\n2. In the repo, go to **Settings → Pages → Build and deployment → Source** and select **GitHub Actions**.\n3. Push to `main` (or run the workflow from the Actions tab). Site goes live at `https://corychainsman.github.io/citymath/`.\n\n### Option B — Vercel or Netlify\n\nConnect the repo on either platform — both auto-detect Vite. No config required.\n\n### Option C — Anywhere static\n\n`npm run build` produces a static `dist/` folder. Drop it on any host (Cloudflare Pages, S3, Surge, etc.).\n\n## URL parameters\n\n| Param    | Format                          | Example                          |\n| -------- | ------------------------------- | -------------------------------- |\n| `stacks` | Semicolon-separated stacks, each with comma-separated city slugs | `stacks=new-york,boston;houston,austin` |\n\nSlugs are the city name, lowercased, with spaces replaced by hyphens (e.g., `oklahoma-city`, `san-francisco`). Unknown slugs are silently dropped.\n\nLegacy `target` and `stack` links are still accepted and converted into the new stack format.\n\n## Stack\n\nVite · React 18 · Inter \u0026 IBM Plex Mono (Google Fonts). No CSS framework — CSS is kept in `src/App.jsx` with a custom palette.\n\n## Data\n\n[U.S. Census Bureau, July 2024 estimates](https://en.wikipedia.org/wiki/List_of_United_States_cities_by_population), top 30 incorporated cities. Hardcoded as a constant in `src/App.jsx` — no API calls.\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcorychainsman%2Fcitymath","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcorychainsman%2Fcitymath","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcorychainsman%2Fcitymath/lists"}