HubLensTrendingpuemos/craftplan
puemos

craftplan

Backend#Elixir#Phoenix#PostgreSQL#ERP#Ash Framework
View on GitHub
1,112

// summary

Craftplan is an open-source ERP platform specifically designed to meet the operational needs of small-scale artisanal and craft businesses. It integrates essential tools like catalog management, production planning, inventory control, and CRM into a single, self-hosted solution. The system supports specialized features such as versioned Bills of Materials, allergen tracking, and automated cost rollups to streamline manufacturing workflows.

// technical analysis

Craftplan is an open-source ERP system built with Elixir, Phoenix LiveView, and the Ash Framework, specifically designed to meet the unique operational needs of small-scale artisanal manufacturers. By consolidating catalog management, production planning, inventory, and CRM into a single platform, it eliminates the complexity and cost of managing multiple disparate business tools. The architecture prioritizes data sovereignty and specialized workflows, such as allergen tracking and versioned Bills of Materials, offering a robust alternative to generic ERP solutions that often fail to address the nuances of craft production.

// key highlights

01
Versioned Bills of Materials allow for iterative recipe development while maintaining historical accuracy and automatic cost rollups.
02
Integrated production batching enables automatic material consumption and precise cost snapshots for every production run.
03
Built-in allergen and nutritional tracking provides essential compliance support for food and beverage producers.
04
A global command palette with fuzzy search ensures rapid navigation and instant access to any record across the entire platform.
05
The system supports external calendar integration via iCal feeds, allowing users to sync order deliveries and production schedules with standard calendar apps.
06
Comprehensive API support via JSON:API and GraphQL enables programmatic access and integration with other business systems.

// use cases

01
Manage product catalogs and versioned Bills of Materials with automated cost rollups
02
Streamline production batching, inventory tracking, and demand forecasting
03
Handle customer orders, invoicing, and CRM within a unified, self-hosted interface

// getting started

To begin using Craftplan, you can deploy it quickly using Docker by downloading the provided docker-compose.yml and .env.example files. After configuring your environment variables, run 'docker compose up -d' to start the application, PostgreSQL, and MinIO services. For developers, the project provides a 'mix setup' command to install dependencies, run migrations, and seed the database for local development.