Skip to content

JonasHeilig/FilamentManagement

Folders and files

NameName
Last commit message
Last commit date

Latest commit

3253665 · · Mar 31, 2026

History

28 Commits
Mar 31, 2026
Mar 31, 2026
Mar 28, 2026
Mar 27, 2026
Mar 31, 2026
Mar 29, 2026
Mar 29, 2026
Mar 29, 2026
Mar 27, 2026
Mar 28, 2026
Mar 28, 2026
Mar 28, 2026

Repository files navigation

Filament Management

Small Flask-Project to manage your 3D-Fillament Spools.
Self-Host on in your HomeLab

  1. Clone Repo
  2. Run app.py
  3. Setup => After setting up the project, please call the following URL to initialize the database:se:
  • https://[your-URL]/api/init

Use the WebUI to easily manage your spools - Web Demo:

All API-Routs are available at following URL (Per Terminal) to create your own scripts or clients (Not on Demo Server - Please use WebUI for Demo):

  • https://[your-URL]/api/

Datamodel of the DB:

Feld Typ Descripton
id string Unice ID
name string Name of the Spool
manufacturer string Manufacrur
material string e.g. PLA
color string Color
total_weight_grams integer Weight of full Spool
remaining_weight_grams integer remain weight of spool
created_at string Date of creation
updated_at string Date of Last Update
archived boolean Spool archived?

Èxample

{
   "id": "UUID",
   "name": "PLA Black",
   "manufacturer": "esun",
   "material": "PLA",
   "color": "Black",
   "total_weight_grams": 1000,
   "remaining_weight_grams": 850,
   "created_at": "2026-03-27T12:34:56",
   "updated_at": "2026-03-27T12:40:00",
   "archived": false
}}

API-Routes

Methode Endpoint Typ Beschreibung
GET /api/spools array All Spools
POST /api/spools object Create new Spool
GET /api/spools/id> object Only gives Spool with the send ID
PATCH /api/spools/id> object Change Infos of a specific spool
POST /api/spools//consumeonsume object Consume a Amount of the spool with the given ID
POST /api/spools//archiverchive object Archive a Spool

Query Parameters for GET /api/spools

Parameter Typ Beschreibung
material string filter by material
color string filter by color
archived boolean filter by archived Status

Mandatory fields for POST /api/spools

Feld Typ
name string
manufacturer string
material string
color string
total_weight_grams integer

Mandatory fields for POST /api/spools//consumeonsume

Feld Typ
grams integer

About

A software based on a Flask api for Filament management Demo:

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published