Skip to content
mxspPublic

About

Small Agentic ERP

Resources

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Gimel — Localnet ERP, 3D Factory Twin & Agent Lab

Gimel is a local-first manufacturing ERP, MES, 2D sheet-nesting, 3D factory twin, and AI assistant platform built for sheet-cutting job shops and manufacturers.

  • Localnet-only by default (GIMEL_LOCALNET_ONLY=1) — Restricted to loopback & private LAN subnets (127.0.0.0/8, 10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16, ULA); blocks public peers and public proxy headers with 403.
  • Simple Account Manager (Username + Password) — Local accounts via /app#/benutzer, /api/accounts, or gimel accounts, with browser-based first-run admin setup on empty databases.
  • Always ships with both modes:
    • Playground (:8040) — Isolated sandbox pre-seeded with Musterwerk GmbH (--reset anytime).
    • Production (:8041) — Clean database (SQLite or PostgreSQL), strict production security, /docs disabled.
  • Built-in GitHub Release Updater — Check and update directly from mxsp/gimel releases in Admin → Updates or via gimel update.

Manual: See the complete Installation & User Manual for step-by-step setup, daily workflows, account administration, updates, and backups.
License: Source-available for non-commercial use only (see LICENSE). Commercial use requires a separate license.


Showcase

ERP Portal — Daily Dashboard & Shop-Floor Control (/app)

Manage quotes, orders, automated 2D sheet nesting (lite & kerf), disposition, station worklists (Arbeitsvorrat & Arbeitsplätze), picking, production, shipping, inventory, and invoicing in one fast interface.

Gimel ERP Dashboard

Gimel Shop-Floor Worklist

3D Factory Twin Studio (/studio) & Floor Plan (/twin)

Visualize live station status, edit hall layouts, machines, aisles, and storage zones in interactive 2D/3D, and save camera presets.

Gimel 3D Factory Twin Studio

Gimel Agent Lab (/lab) & Docked Copilot

Connect a local LLM (such as Ollama on your LAN) or cloud provider to inspect orders, schedules, stock, and factory data with tool execution and reversible change tracking.

Gimel Agent Lab

Localnet Account Manager (#/benutzer)

Create and manage local Admin, Personal, and Werker logins using only Username + Password — no mail server or external directory needed.

Gimel Account Manager


One-Time Setup & Quick Start

Option 1: Browser GUI Installer (Easiest — Zero Dependencies)

Launch the guided web installer in your browser (http://127.0.0.1:8099) using only Python 3.11+ — checks prerequisites, installs dependencies, builds all UIs, sets up your first Admin account, and starts Gimel in one click:

git clone https://github.com/mxsp/gimel.git
cd gimel
python3 scripts/install-ui.py

Option 2: CLI One-Time Setup Script (Linux / macOS / Windows)

Run once to create .venv, install Gimel, build all SPAs (/app, /studio, /twin, /lab), and initialize both Playground and Production:

Linux / macOS:

git clone https://github.com/mxsp/gimel.git
cd gimel
./scripts/setup.sh

Windows (PowerShell):

git clone https://github.com/mxsp/gimel.git
cd gimel
.\scripts\setup.ps1

Then start Gimel:

.venv/bin/gimel playground                      # Demo sandbox on http://127.0.0.1:8040/app
.venv/bin/gimel production                      # Clean production on http://127.0.0.1:8041/app
.venv/bin/gimel production --host 0.0.0.0       # Share over your local LAN (localnet-only enforced)

Option 3: Windows Installer (Gimel-Setup-x64.exe) & Standalone Binaries

Download directly from GitHub Releases:

  • Windows Installer (Gimel-Setup-x64.exe): Modern setup wizard with Start Menu/Desktop shortcuts, optional Private-LAN Firewall rule (8040–8041), uninstaller, and automatic launch into the Gimel Setup UI (gimel.exe --mode setup-ui).
  • Portable Archives (gimel-windows-x64.zip / gimel-linux-x64.tar.gz): Extract and run without installing:
./gimel --mode setup-ui     # Guided browser setup wizard
./gimel --mode playground   # Sandbox on http://127.0.0.1:8040/app
./gimel --mode production   # Clean production on http://127.0.0.1:8041/app
./gimel --mode both         # Run both side by side

Option 3: Docker Compose (Playground + Production + PostgreSQL)

cp .env.example .env
# Edit .env to set POSTGRES_PASSWORD, GIMEL_SECRET_KEY, GIMEL_ADMIN_USER, and GIMEL_ADMIN_PASSWORD
docker compose up -d --build
  • Playground: http://127.0.0.1:8040/app (docker logs gimel-playground prints demo credentials)
  • Production: http://127.0.0.1:8041/app (PostgreSQL 16)

Account Manager & Updates (CLI)

# Manage local username + password accounts
gimel accounts list
gimel accounts add max --role staff
gimel accounts passwd max
gimel accounts role max admin
gimel accounts disable max | enable max | unlock max | delete max

# Check & apply updates from GitHub Releases (mxsp/gimel)
gimel update --check
gimel update --apply

Repository Layout

gimel/                FastAPI backend, planning core, localnet guard, account manager, updater
  core/               Pure planning & geometry: nesting (lite/kerf), routing, worklist, pricing
  routers/            REST API endpoints (/api/accounts, /api/updates, /api/orders, ...)
  services/           Domain services, batch scheduler, GitHub Release updater, settings store
  localnet.py         Localnet-only ASGI middleware (loopback + RFC1918 + ULA)
  launcher.py         Unified Playground & Production runner (CLI, Docker, EXE)
web/                  React 18 + Blueprint 5 frontend (Portal /app, Twin /twin, Studio /studio)
agentlab/             Optional AI assistant backend & frontend (/lab)
scripts/              One-time setup scripts (setup.sh, setup.ps1)
packaging/            PyInstaller spec and Linux/Windows executable build scripts
docs/                 MANUAL.md, MODULARITY.md, and screenshots/
tests/                Pytest backend, security, updater, and planning test suites

Documentation


License

Copyright (c) 2026 FyreFly Systems GbR / mxsp.
Licensed under the Gimel Non-Commercial Source License — see LICENSE.

About

Small Agentic ERP

Resources

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages