A small web app for browsing and tracking DATA.md files across a directory tree.
- Browse + history: Directory tree, DATA.md rendering, and version history
- Pagination: Ordered by most recently updated underlying data
- Scan on demand: POST /scan triggers a background scan (Slack-signed or grant)
- Auto scan: Optional scheduler runs scans on an interval
- Notifications: New/changed DATA.md and underlying data updates
- FastAPI, Jinja2, HTMX, SQLModel, Pydantic Settings
-
Install dependencies:
pip install -e . -
Create a
.envfile (optional):cp .env.example .env
-
Configure the data directory in
.env:DATA_ROOT=./data
Start the development server:
uvicorn datadotmd.app.main:app --reloadOr:
./run.shThe application will be available at http://localhost:8000
Configuration is managed through environment variables or a .env file:
APP_NAME,APP_BASE_URL,DEBUGDATA_ROOT,DATABASE_URL,ITEMS_PER_PAGEENABLE_AUTO_SCAN,AUTO_SCAN_INTERVAL_MINUTESNOTIFIER_NAME(see notifiers library credentials)ROOT_DIRECTORY_NAMEAUTH_TYPE(mock|soauth),REQUIRED_GRANTAUTHENTICATION_BASE_URL,APP_ID,CLIENT_SECRET,PUBLIC_KEY,KEY_PAIR_TYPESLACK_SIGNING_SECRET