{"id":29203736,"url":"https://github.com/luan/facmandu","last_synced_at":"2025-07-02T14:40:12.098Z","repository":{"id":300661043,"uuid":"1006197494","full_name":"luan/facmandu","owner":"luan","description":null,"archived":false,"fork":false,"pushed_at":"2025-06-22T23:38:45.000Z","size":2189,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-06-23T00:31:14.196Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/luan.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}},"created_at":"2025-06-21T17:56:29.000Z","updated_at":"2025-06-22T23:38:48.000Z","dependencies_parsed_at":"2025-06-23T00:41:21.536Z","dependency_job_id":null,"html_url":"https://github.com/luan/facmandu","commit_stats":null,"previous_names":["luan/facmandu"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/luan/facmandu","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luan%2Ffacmandu","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luan%2Ffacmandu/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luan%2Ffacmandu/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luan%2Ffacmandu/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/luan","download_url":"https://codeload.github.com/luan/facmandu/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luan%2Ffacmandu/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263158486,"owners_count":23422831,"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":[],"created_at":"2025-07-02T14:39:57.603Z","updated_at":"2025-07-02T14:40:12.087Z","avatar_url":"https://github.com/luan.png","language":"Svelte","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Factorio Manager\n\nA web application for managing Factorio mod lists with integration to the Factorio mod portal API.\n\n## Features\n\n- **Mod List Management**: Create and manage multiple mod lists\n- **Mod Portal Integration**: Search and add mods directly from the Factorio mod portal\n- **Rich Mod Information**: Cached mod data including:\n  - Mod title, summary, and description\n  - Category and tags\n  - Thumbnail images\n  - Download counts\n  - Version information\n  - Factorio compatibility\n  - Last updated timestamps\n- **Auto-refresh**: Automatic background updates of mod information\n- **Manual Refresh**: Refresh individual mods or entire lists on demand\n\n## Setup\n\n1. Clone the repository\n2. Install dependencies: `bun install`\n3. Configure your database in `.env`\n   - **SQLite (local development)**: `DATABASE_URL=\"file:./db.sqlite\"`\n   - **Turso (production/remote)**: set `TURSO_CONNECTION_URL=\"libsql://\u003chost\u003e.turso.io\"` and `TURSO_AUTH_TOKEN=\"\u003ctoken\u003e\"`\n4. Push database schema: `bun run db:push`\n5. Configure your Factorio credentials in the settings page\n\n## Developing\n\nStart a development server:\n\n```bash\nbun run dev\n\n# or start the server and open the app in a new browser tab\nbun run dev -- --open\n```\n\n## Database\n\nThe application uses Drizzle ORM with SQLite. Run database commands:\n\n```bash\n# Push schema changes\nbun run db:push\n\n# Generate migrations\nbun run db:migrate\n\n# Open database studio\nbun run db:studio\n```\n\n## Building\n\nTo create a production version of your app:\n\n```bash\nbun run build\n```\n\nYou can preview the production build with `bun run preview`.\n\n## Deployment\n\nThis project can be deployed anywhere Bun\u0026nbsp;apps run. Two common approaches are Docker and Fly.io.\n\n### Docker\n\n```bash\ndocker build -t factorio-manager .\n\n# SQLite (volume mount example)\ndocker run -p 3000:3000 -v $(pwd)/data:/app/data \\\n  -e DATABASE_URL=\"file:/app/data/db.sqlite\" factorio-manager\n\n# Turso (libsql) example\ndocker run -p 3000:3000 \\\n  -e TURSO_CONNECTION_URL=\"libsql://\u003chost\u003e.turso.io\" \\\n  -e TURSO_AUTH_TOKEN=\"\u003ctoken\u003e\" factorio-manager\n```\n\n### Fly.io\n\n```bash\n# Initial setup (one-time)\nfly launch --no-deploy\n\n# Set secrets for Turso if using it\na fly secrets set TURSO_CONNECTION_URL=\"libsql://\u003chost\u003e.turso.io\" TURSO_AUTH_TOKEN=\"\u003ctoken\u003e\"\n\n# Deploy\nfly deploy\n```\n\nAfter deployment the application listens on port\u0026nbsp;3000 by default.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fluan%2Ffacmandu","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fluan%2Ffacmandu","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fluan%2Ffacmandu/lists"}