daily auto-sync 2026-07-13

This commit is contained in:
aeroreyna
2026-07-13 23:00:01 -04:00
parent 7ca3659035
commit 5738712a54
33 changed files with 8315 additions and 15 deletions
+39 -2
View File
@@ -1,11 +1,18 @@
---
Date: 2026-03-18
Author: JARVIS
Tags: #treasure-box #scripture #fasting
Updated: 2026-07-13
Author: JARVIS + Reyna
Tags: #treasure-box #scripture #fasting #bibleverse-sync
---
## Treasure Box Verses
> Synced source: ~/brain/areas/treasure_box/treasure_verses.md
> Pi favs: ~/snap/chromium/common/bibleverse-chrome/Default/Local Storage/leveldb/ -> bibleverse_favs (currently [])
> iMac favs: ~/.config/bibleverse-chrome/Default/Local Storage/leveldb/ -> bibleverse_favs (currently [])
> ESP32 Tactility: /data/progress.txt + /data/favorites.txt pattern (EpubReader style) - not yet implemented for BibleVerse
> MongoDB Atlas cluster0.uiqo72s.mongodb.net: DEPRECATED (NXDOMAIN) - pending recreate or local file sync at ~/Projects/BibleVersePi/server/
### Galatians 5:1625 (ESV)
16 But I say, walk by the Spirit, and you will not gratify the desires of the flesh.
17 For the desires of the flesh are against the Spirit, and the desires of the Spirit are against the flesh, for these are opposed to each other, to keep you from doing the things you want to do.
@@ -32,3 +39,33 @@ But put on the Lord Jesus Christ, and make no provision for the flesh, to gratif
"for it is God who works in you both to will and to do for His good pleasure."
[Source](https://bible.com/bible/114/php.2.13.NKJV)
---
## Devices & Sync Status (2026-07-13)
- **Pi (aeropi5, aarch64, 1024x576)**: Chrome app wrapper ~/bin/bibleverse.sh -> chromium-browser --app=file://~/Projects/BibleVersePi/dist/index.html --class=BibleVerse. Favs: [] (empty). LevelDB at ~/snap/chromium/common/bibleverse-chrome/Default/Local Storage/leveldb/000003.log. Triggers: bibleverse-pi.service disabled, no autostart.
- **iMac (192.168.68.124, x86_64, 2560x1440, Ubuntu 26.04)**: Same wrapper -> google-chrome --app=... Favs: [] . LevelDB ~/.config/bibleverse-chrome/Default/Local Storage/leveldb/. Trigger screensaver.service (active hours 9-5 idle 5min kiosk) DISABLED.
- **ESP32 Tactility (KidsOS 320x240)**: No BibleVerse app yet, only EpubReader uses /data/progress.txt. Future: implement same global idx 0-31093.
- **Laptop portable**: BibleVerse-portable.zip 1.4MB dist/index.html + bible_verses.js. Works offline, favourite via localStorage.
- **MongoDB**: cluster0.uiqo72s.mongodb.net deprecated (NXDOMAIN). Env MONGODB_URI still points there but unreachable. Recommended: local JSON file sync at reyna-cli 192.168.68.113:8765/api/bible/sync.
## Future sync design (when ESP32 has highlights)
```json
POST /api/bible/sync
{
"device": "esp32_5c5c",
"favs": [1234, 5678],
"progress": 1234,
"highlights": [{"verse": 1234, "color": "yellow", "note": ""}],
"at": 1720890000000
}
```
App dist/index.html currently:
- saves localStorage bibleverse_favs = JSON-array of global indices
- saves localStorage bibleverse_global = curGlobal int
- Future: add syncPush() after save, syncPull() on load.
This file treasure_verses.md remains human source of truth for curated verses. App favs are transient reading marks, treasure is permanent.