{"id":21893235,"url":"https://github.com/egguy/pubcrawl-optimizer","last_synced_at":"2026-03-17T01:43:10.966Z","repository":{"id":262651362,"uuid":"870753820","full_name":"egguy/pubcrawl-optimizer","owner":"egguy","description":"Optimizing pub crawls, one schooner at time","archived":false,"fork":false,"pushed_at":"2025-03-18T22:21:25.000Z","size":877,"stargazers_count":0,"open_issues_count":6,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-18T23:26:20.783Z","etag":null,"topics":["docker","drizzle","leaflet","learning","openstreetmap","routing","svelte","sveltekit"],"latest_commit_sha":null,"homepage":"https://pubcrawl-optimiser.moospirit.org/","language":"Svelte","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/egguy.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-10-10T15:51:46.000Z","updated_at":"2025-03-18T22:21:29.000Z","dependencies_parsed_at":"2024-11-28T05:22:27.426Z","dependency_job_id":"85ce52cd-e4e0-4064-b289-877e9d30bc0b","html_url":"https://github.com/egguy/pubcrawl-optimizer","commit_stats":null,"previous_names":["egguy/pubcrawl-optimizer"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/egguy%2Fpubcrawl-optimizer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/egguy%2Fpubcrawl-optimizer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/egguy%2Fpubcrawl-optimizer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/egguy%2Fpubcrawl-optimizer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/egguy","download_url":"https://codeload.github.com/egguy/pubcrawl-optimizer/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244902921,"owners_count":20529114,"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":["docker","drizzle","leaflet","learning","openstreetmap","routing","svelte","sveltekit"],"created_at":"2024-11-28T13:12:58.485Z","updated_at":"2026-03-17T01:43:10.911Z","avatar_url":"https://github.com/egguy.png","language":"Svelte","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Pub Crawl Optimizer\n\nA proof of concept for a pub crawl optimizer. The user can input a list of pubs and the app will calculate the shortest path between all of them.\n\n## Features\n\n- Interactive map interface for visualizing routes\n- Separate departure and arrival points configuration\n- Optimal route calculation between multiple pubs\n- Distance and estimated travel time calculation\n\n## Tech stack\n\n- SvelteKit - Full-stack web application framework\n- TailwindCSS - Utility-first CSS framework\n- Leaflet - Interactive map visualization\n- OSRM - High-performance routing engine\n- Vroom - Vehicle routing optimization\n- SQLite + Drizzle - Lightweight database with type-safe ORM\n\n## Configuration\n\nThe app is configured using environment variables. The following variables are available:\n\n### Required Environment Variables\n\n- `ORS_TOKEN`: OpenRouteService API token (Required)\n  - Obtain from: [OpenRouteService signup](https://openrouteservice.org/dev/#/signup)\n  - Format: String\n\n### Optional Environment Variables\n\n- `DATABASE_URL`: SQLite database URL\n  - Default: `:memory:`\n  - Example: `file:./database.sqlite`\n\n### Example .env file\n\n```env\nDATABASE_URL=file:./database.sqlite\nORS_TOKEN=your_token_here\n```\n\n## Developing\n\nOnce you've created a project and installed dependencies with `npm install` (or\n`pnpm install` or `yarn`), start a development server:\n\n```bash\nnpm run dev\n\n# or start the server and open the app in a new browser tab\nnpm run dev -- --open\n```\n\n## Building\n\nTo create a production version of your app:\n\n```bash\nnpm run build\n```\n\nYou can preview the production build with `npm run preview`.\n\n\u003e To deploy your app, you may need to install an\n\u003e [adapter](https://kit.svelte.dev/docs/adapters) for your target environment.\n\n### Building and running the project\n\n#### Node.js\n\n```bash\nnpm run build\nnode build\n```\n\n#### Docker\n\nYou can use docker to build the project as well. The following command will build the project and run it in a container.\n\n```bash\ndocker build -t pub-crawl-optimizer .\n# Run the container and delete it when it stops\ndocker run --it -v ./local.db --env-file=.env.local -p 3000:3000 pub-crawl-optimizer\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fegguy%2Fpubcrawl-optimizer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fegguy%2Fpubcrawl-optimizer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fegguy%2Fpubcrawl-optimizer/lists"}