{"id":43129164,"url":"https://github.com/puemos/craftplan","last_synced_at":"2026-02-04T11:46:09.283Z","repository":{"id":272029492,"uuid":"907760604","full_name":"puemos/craftplan","owner":"puemos","description":"Self-hosted software for managing artisanal D2C micro-businesses","archived":false,"fork":false,"pushed_at":"2026-01-30T14:38:44.000Z","size":5671,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-31T04:02:45.676Z","etag":null,"topics":["artisanal","d2c","erp","self-hosted"],"latest_commit_sha":null,"homepage":"https://puemos.github.io/craftplan/","language":"Elixir","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/puemos.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":"AGENTS.md","dco":null,"cla":null}},"created_at":"2024-12-24T10:20:00.000Z","updated_at":"2026-01-30T14:41:38.000Z","dependencies_parsed_at":"2025-03-05T20:48:48.525Z","dependency_job_id":"95b7c5d3-aab2-4a26-bfbc-e2e143fbbb31","html_url":"https://github.com/puemos/craftplan","commit_stats":null,"previous_names":["puemos/craftscale","puemos/microcraft","puemos/craftplan"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/puemos/craftplan","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/puemos%2Fcraftplan","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/puemos%2Fcraftplan/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/puemos%2Fcraftplan/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/puemos%2Fcraftplan/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/puemos","download_url":"https://codeload.github.com/puemos/craftplan/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/puemos%2Fcraftplan/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28955189,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-31T18:30:42.805Z","status":"ssl_error","status_checked_at":"2026-01-31T18:30:19.593Z","response_time":128,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":["artisanal","d2c","erp","self-hosted"],"created_at":"2026-01-31T21:00:25.260Z","updated_at":"2026-01-31T21:00:47.184Z","avatar_url":"https://github.com/puemos.png","language":"Elixir","funding_links":[],"categories":["Elixir"],"sub_categories":[],"readme":"\u003cimg width=\"1280\" alt=\"GitHub-Banner\" src=\"https://github.com/user-attachments/assets/25e649e8-64a5-4c9f-b610-0f1cadccde14\" /\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"LICENSE\"\u003e\u003cimg src=\"https://img.shields.io/badge/license-AGPLv3-blue.svg\" alt=\"License: AGPLv3\"\u003e\u003c/a\u003e\n  \u003cimg src=\"https://img.shields.io/badge/elixir-%7E%3E%201.15-purple.svg\" alt=\"Elixir ~\u003e 1.15\"\u003e\n  \u003cimg src=\"https://img.shields.io/badge/phoenix-%7E%3E%201.8-orange.svg\" alt=\"Phoenix ~\u003e 1.8\"\u003e\n\u003c/p\u003e\n\n## Open-source ERP for small-scale artisanal manufacturers and craft businesses\n\nCraftplan brings all essential business tools into one platform — catalog management, inventory control, order processing, production planning, purchasing, and CRM — so you can get off the ground quickly without paying for multiple separate platforms.\n\n![Manage overview with schedule, make sheet, and completion snapshot](screenshots/plan.webp)\n\n## Features\n\n**Catalog \u0026 BOM**\n- Product catalog with photos and labels\n- Versioned Bills of Materials — edit latest, older versions read-only\n- Automatic cost rollups across nested BOMs\n- Labor steps with time and cost tracking\n\n**Orders \u0026 Invoices**\n- Customer order processing with calendar-based scheduling\n- Invoice generation\n- Order item allocation to production batches\n\n**Production**\n- Production batching with automatic material consumption\n- Cost snapshots per batch\n- Completion workflow with produced quantity tracking\n\n**Inventory**\n- Raw material management with lot traceability\n- Stock movements (consume, receive, adjust)\n- Allergen and nutritional fact tracking\n- Demand forecasting and reorder planning\n\n**Purchasing**\n- Purchase orders and supplier management\n- Receiving into stock with lot creation\n\n**CRM**\n- Customer and supplier database\n- Order history and statistics\n\n**Import / Export**\n- CSV bulk import for products, materials, and customers\n- CSV export\n\n**Email**\n- Transactional email delivery configurable from the UI\n- SMTP, SendGrid, Mailgun, Postmark, Brevo, and Amazon SES\n- API keys encrypted at rest\n\n**Calendar Feed**\n- iCal (.ics) subscription URL for Google Calendar, Apple Calendar, or any iCal-compatible app\n- Includes order deliveries and production batch schedules\n- Generate and revoke feeds from Settings\n\n**API**\n- JSON:API and GraphQL endpoints for programmatic access\n- API key authentication with encrypted storage\n- CORS configuration\n\n**Access Control**\n- Admin and staff roles\n- Policy-based authorization on all resources\n\n## Screenshots\n\n\u003ctable\u003e\n  \u003ctr\u003e\n    \u003ctd\u003e\u003cimg src=\"screenshots/catalog-recipe.webp\" alt=\"BOM editor\" width=\"400\"\u003e\u003c/td\u003e\n    \u003ctd\u003e\u003cimg src=\"screenshots/orders.webp\" alt=\"Order management\" width=\"400\"\u003e\u003c/td\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd\u003e\u003cimg src=\"screenshots/inventory-forecast.webp\" alt=\"Inventory forecasting\" width=\"400\"\u003e\u003c/td\u003e\n    \u003ctd\u003e\u003cimg src=\"screenshots/settings.webp\" alt=\"Settings and email configuration\" width=\"400\"\u003e\u003c/td\u003e\n  \u003c/tr\u003e\n\u003c/table\u003e\n\n## Tech Stack\n\nElixir · [Ash Framework](https://ash-hq.org/) · Phoenix LiveView · PostgreSQL · Tailwind CSS\n\n## Getting Started\n\n\u003e **Prerequisites:** Docker, Elixir ~\u003e 1.15, Erlang/OTP 27\n\n```bash\ndocker compose -f docker-compose.dev.yml up -d   # Start PostgreSQL + MinIO + Mailpit\nmix setup               # Install deps, migrate, build assets, seed\nmix phx.server          # Start at localhost:4000\n```\n\nSee the [setup guide](https://puemos.github.io/craftplan/docs/getting-started/) for detailed instructions.\n\n## Self-Hosting with Docker\n\nDeploy Craftplan on your own server — no need to clone the repo:\n\n```bash\ncurl -O https://raw.githubusercontent.com/puemos/craftplan/main/docker-compose.yml\ncurl -O https://raw.githubusercontent.com/puemos/craftplan/main/.env.example\ncp .env.example .env   # Fill in the required secrets (see .env.example)\ndocker compose up -d\n```\n\nThis starts Craftplan, PostgreSQL, and MinIO with migrations running automatically.\n\n[![Deploy on Railway](https://railway.com/button.svg)](https://railway.com/template/craftplan)\n\nSee the [self-hosting guide](https://puemos.github.io/craftplan/docs/self-hosting/) for single-container mode, Railway deployment, reverse proxy setup, and more.\n\n## Why Craftplan?\n\n- **Purpose-built for artisanal manufacturing** — not a generic ERP adapted to fit; workflows are designed around small-batch, made-to-order production\n- **Allergen \u0026 nutritional tracking** — first-class support for food and beverage producers who need to track ingredients and generate nutrition labels\n- **BOM versioning with cost rollups** — iterate on recipes and formulas while keeping full history and accurate costing\n- **Self-hosted, no vendor lock-in** — your data stays on your infrastructure, backed by PostgreSQL\n\n## Documentation\n\n- [Full documentation](https://puemos.github.io/craftplan/docs/)\n- [API reference (JSON:API \u0026 GraphQL)](https://puemos.github.io/craftplan/docs/api/)\n\n## Contributing\n\nContributions are welcome. For major changes, please [open an issue](https://github.com/puemos/craftplan/issues) first to discuss your proposal.\n\n```bash\nmix test       # Run the test suite\nmix format     # Format code (Styler, Spark, Tailwind, HEEx)\n```\n\nCommits follow the convention: `type(scope): description` (e.g., `feat(batching):`, `fix(orders):`, `ui(production):`).\n\n## License\n\nThis project is licensed under the AGPLv3 License — see the [LICENSE](LICENSE) file for details.\n\n## Support\n\n- [Open an issue](https://github.com/puemos/craftplan/issues)\n- [Read the docs](https://puemos.github.io/craftplan/docs/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpuemos%2Fcraftplan","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpuemos%2Fcraftplan","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpuemos%2Fcraftplan/lists"}