Lalabase
Tickets, Doku, Zeiterfassung und Kundengespräche an einem Ort, durchsuchbar per KI. Für Softwarefirmen mit Kundenprojekten. Open Source: auf deinem eigenen Server oder in unserer Cloud in Deutschland.
翻譯準備中
尚未偵測到更新。GitHub 發布版本後會顯示在這裡。
個人 GitHub 帳號下公開儲存庫的擁有者可以登入並驗證所有權,自行管理介紹,無需管理員核准。
登入並產生驗證檔案,在 30 分鐘內將其提交至此儲存庫的預設分支。其他分支或分叉儲存庫中的檔案無效。然後在下方檢查檔案,即可無需管理員核准直接管理專案。請保留檔案以維持管理權限。
如需登入,將前往登入頁面。登入後請回到此處,再次點擊所選的驗證按鈕。
在專案資料夾中執行 /nomorevibe verify,即可驗證所有權並自行管理介紹。
一分鐘完成驗證正在載入完整 README。 以下為已儲存的摘錄。
ERP for a ceramic tile factory: warehouses, cash, production lines, counterparties,
purchasing, sales, finance (PnL) and payroll. FastAPI backend, static JS frontend,
plus a Telegram bot and Mini App.
Requires Python 3.12+.
run.py starts the web server and the Telegram bot together. Without a reachable
DATABASE_URL the app falls back to a local SQLite file (tile_erp.db).
• Dashboard: http://127.0.0.1:8000
• API docs: http://127.0.0.1:8000/docs
See .env.example. .env is gitignored and must never be committed.檢視完整 README ↗ERP for a ceramic tile factory: warehouses, cash, production lines, counterparties, purchasing, sales, finance (PnL) and payroll. FastAPI backend, static JS frontend, plus a Telegram bot and Mini App.
Requires Python 3.12+.
pip install -r requirements.txt
cp .env.example .env # then fill in TELEGRAM_BOT_TOKEN and DATABASE_URL
python run.py
run.py starts the web server and the Telegram bot together. Without a reachable
DATABASE_URL the app falls back to a local SQLite file (tile_erp.db).
See .env.example. .env is gitignored and must never be committed.
| Variable | Purpose |
|---|---|
TELEGRAM_BOT_TOKEN | Bot token from @BotFather. No default - the bot is skipped if unset. |
DATABASE_URL | Postgres connection string. Falls back to SQLite if unreachable. |
WEBAPP_HTTPS_URL | Public HTTPS URL serving /webapp, for the Mini App button. |
BOT_READ_ONLY | 1 (default) = bot is view-only. 0 re-enables the entry wizards. |
TELEGRAM_POLLING | 1 = run.py also runs the bot by long polling (local testing only). |
The bot runs on Vercel with the web app, through a webhook: Telegram sends
each message to /api/telegram/webhook and the bot answers it there with the
TELEGRAM_BOT_TOKEN set in Vercel. Nothing else needs to stay running.
telegram_bot_state
table, since each message may be handled by a different server.TELEGRAM_POLLING=1 python run.py) removes the webhook, which
takes the live bot off the site - use it only with a separate test bot.The bot is read-only by default: it reports stock, cash, production, balances,
finance and payroll, and the entry buttons point to the web app, whose rules
(Ombor access, month closing, balances) the old bot wizards do not follow.
BOT_READ_ONLY=0 brings the cash, production and Ombor entry wizards back.
The site can be installed on a phone or computer and then opens in its own window from the home screen, like a normal app.
frontend/manifest.webmanifest describes the app and its icons
(frontend/icons/), and frontend/sw.js (served at /sw.js) only shows an
offline page when there is no internet - all data still comes live from the
server, so nothing stale is shown.
Screens up to 768px wide get a phone layout (frontend/js/mobile.js and the
last section of style.css); the computer layout is unchanged.
no-cards class to keep it a
table on phones.The web app and Mini App deploy to Vercel via its native FastAPI support. The
entrypoint is declared in pyproject.toml:
[tool.vercel]
entrypoint = "backend.main:app"
Pushes to main deploy automatically. Set DATABASE_URL in the Vercel project
environment (the Neon integration does this for you).
Note: do not add an api/index.py shim with a catch-all rewrite. Vercel's
rewrites replaces the request path, so the app receives /api/index for every
URL and returns 404 for everything.