dashPi: a self-hosted home dashboard, its sync server and phone app
The dashboard (Raspberry Pi 3.5" screen + web pages), the end-to-end encrypted sync mailbox (PHP + SQLite) and the Android companion app (Flutter), with docs, clean-install checks and screenshots made from demo data. Built mostly with an AI coding assistant; not yet reviewed line by line by a human (see README and SECURITY.md). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
commit
fb3c01cdd7
333 changed files with 45151 additions and 0 deletions
13
server/config.example.php
Normal file
13
server/config.example.php
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
<?php
|
||||
// Copy to config.php and adjust. Keep the database OUTSIDE the web root (only public/ is served).
|
||||
return [
|
||||
'db' => __DIR__ . '/data/sync.db', // the directory must be writable by PHP (the web server's user)
|
||||
'base_path' => '', // the URL prefix if it doesn't live at the root, e.g. '/dash-sync'
|
||||
'max_batch_bytes' => 8 * 1024 * 1024, // also mind PHP's post_max_size / nginx client_max_body_size
|
||||
// 'app_dir' => __DIR__ . '/app', // the phone app's published builds (default: app/ next to this file)
|
||||
// 'food_db' => __DIR__ . '/food/off-archive.db', // the Open Food Facts archive (dashboard: plugins/food/off.py --archive)
|
||||
// 'food_home' => ['romania', 'slovakia'], // food search: these countries' products first (OFF's names)
|
||||
// 'max_account_bytes' => 1024 * 1024 * 1024, // all of an account's batches together (0 = no limit)
|
||||
// 'max_answer_bytes' => 32 * 1024 * 1024, // batches per GET /v1/batches answer, by size
|
||||
// 'key_replace_any' => false, // true: any device of the account may change the passphrase
|
||||
];
|
||||
Loading…
Add table
Add a link
Reference in a new issue