A minimal AI-powered web application that analyzes sentences and classifies them into three categories: Personal Voice, Learned Belief, and Fear-Based.
- Python 3.11+
- OpenRouter API Key (for DeepSeek access)
- Docker (optional, for containerized deployment)
- Create and activate virtual environment:
# Create virtual environment
python3 -m venv venv
# Activate on Mac/Linux
source venv/bin/activate
# Activate on Windows
venv\Scripts\activate- Install dependencies:
pip install -r requirements.txt- Create
.envfile:
cp .env.example .env- Add your OpenRouter API key to
.env:
OPENROUTER_API_KEY=your_actual_key_here
- Run the application:
python app.py-
Open browser: http://localhost:8080
-
When finished, deactivate virtual environment:
deactivate-
Make sure Docker Desktop is running
-
Build the image:
docker build -t whose-voice .- Run the container:
docker run -p 8080:8080 -e OPENROUTER_API_KEY=your_key_here whose-voice-
Open browser: http://localhost:8080
-
Stop container with
Ctrl+C
- Enter a sentence describing a thought or decision
- Click "Analyze"
- View the breakdown across three categories
- Read the neutral explanation
- Backend: Python + Flask
- Frontend: HTML5 + Vanilla JavaScript + CSS3
- AI: DeepSeek R1 via OpenRouter API
- Deployment: Docker
This application follows these principles:
- Minimal: Single feature, zero bloat
- Neutral: No advice, no judgment
- Fast: Instant feedback, no tracking
- Private: No authentication, no data storage
- Honest: Reflects what's there without prescription
MIT
