This repo is the overhaul workspace for the next version of Black-Tape.
It is intentionally separate from Project-Blacktape-Main. The goal here is to split the system into two clearer parts:
black_tape_engine: the Python ingestion/search toolblack_tape_web: the hosted web application that calls into the engineThe current Main repo mixes ingestion logic, cache handling, routes, templates, and UI concerns in one place. This overhaul creates a boundary so the Python tool can run as a web-hosted service instead of the web app and engine being tightly interwoven.
src/
black_tape_engine/
engine.py
legacy_core/
legacy_ingesters/
legacy_scanners/
legacy_processors/
legacy_exporters/
legacy_display/
black_tape_web/
__init__.py
blueprints/
services/
templates/
static/
run.py
pyproject.toml
VaultService.python -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
python run.py
The app will start on http://127.0.0.1:5000.
This repo is ready for Render with the included render.yaml.
Minimum environment variables:
SECRET_KEY=<long-random-secret>
SESSION_COOKIE_SECURE=1
Optional:
BLACKTAPE_PASSWORD=<deployment-password>
Leave BLACKTAPE_PASSWORD unset if you want the app to be openly accessible without a login wall.
Recommended privacy setting:
BLACKTAPE_CACHE_TTL=900
That keeps uploaded vault data for 15 minutes before it is expired and actively cleaned from the server cache.
Render will run the app with:
gunicorn -c gunicorn.conf.py run:app
Runtime notes:
/tmp/black-tape-instance by default on RenderBLACKTAPE_CACHE_TTL seconds.gitignore