A playful, UK-toned, offline-first kitten-care guide for first-time kitten owners, families, and temporary fosterers.
You can download and run this app on your own computer β no internet required after the first launch.
- Python 3.8 or newer β Download Python
(on Mac you can also usebrew install python; on most Linux distros it's pre-installed)
- Go to the Releases page and download the package for your platform:
- Windows β
HowToWorkACat-vX.X.X-windows.zip - Mac β
HowToWorkACat-vX.X.X-mac.tar.gz - Linux β
HowToWorkACat-vX.X.X-linux.tar.gz
- Windows β
- Unzip / extract the archive.
- Run the launcher:
- Windows: double-click
run.bat - Mac / Linux: open a Terminal in the extracted folder and run
bash run.sh
- Windows: double-click
- The app opens automatically in your browser at http://localhost:8501.
The launcher creates a Python virtual environment and installs all dependencies for you on the first run.
# Clone the repository (or download the ZIP from GitHub β Code β Download ZIP)
git clone https://github.com/flencrypto/HowToWorkACat.git
cd HowToWorkACat
# Mac / Linux
bash run.sh
# Windows
run.batHow To Work A Cat is a reassuring, lightly sarcastic guide explaining real kitten needs via analogies, metaphors, and human comparisons. Think: "keep the litter tray like a shared bathroom you'd happily eat toast in" or "you're not a 24/7 chew-toy subscription service".
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β Streamlit Web App β
β (app.py) β
β βββββββββββββββ ββββββββββββββββ ββββββββββββββββ β
β β Home Page β β Search β β Library β β
β β (Panic β β (Full-text) β β (Browse by β β
β β Buttons) β β β β Topic) β β
β βββββββββββββββ ββββββββββββββββ ββββββββββββββββ β
β β
β βββββββββββββββ ββββββββββββββββ ββββββββββββββββ β
β β Kitten Ops β β Saved β β Emergency β β
β β Manual β β Bookmarks β β (Red Flags)β β
β βββββββββββββββ ββββββββββββββββ ββββββββββββββββ β
ββββββββββββββββββββββββ¬βββββββββββββββββββββββββββββββββββββββ
β
βΌ
βββββββββββββββββββββββββ
β Database Layer β
β (database.py) β
β β
β SQLite: Guides, β
β Diagrams, Bookmarks β
βββββββββββββββββββββββββ
β²
β
βββββββββββββββββββββββββ
β Content Loader β
β (content_loader.py) β
β β
β Sample kitten-care β
β guides & diagrams β
βββββββββββββββββββββββββ
-
π Offline Search: Full-text search with filters (age, topic, urgency)
- Search by keywords, topics, or specific issues
- Filter by kitten age and urgency level
- Instant results from local database
-
π Kitten Ops Manual: Step-by-step onboarding checklist for your first 10 steps
- Day-by-day guidance for the first week
- Interactive checklists to track progress
- Essential setup tasks prioritized
-
π¨ Diagram Pack: Visual guides for safe room setup, body language, poison risks
- ASCII diagrams for safe room layouts
- Cat body language decoder charts
- Visual decision trees for common problems
- Litter tray placement guides
-
π Panic Buttons: Quick access to "Not eating", "Litter disasters", "Scratching sofa", etc.
- One-click access to emergency guides
- Fast solutions for 3am crises
- Clear "Do this NOW" steps
-
πΎ Offline-first: All content bundled and searchable without internet
- No internet required after initial load
- SQLite database for fast queries
- Works anywhere, anytime
- First-time kitten owners in panic mode
- Parents with family kitten
- Temporary fosterers
- Anyone facing: biting, scratching, zoomies at 3am, hiding, or litter disasters
New User Arrives
β
βββββββββββββββββββ
β Home Page β β Panic buttons for immediate help
β π Quick Help β
βββββββββββββββββββ
β
First time? β Kitten Ops Manual (Day-by-day guide)
β
Specific issue? β Search or Library
β
Found solution? β Bookmark for later (Saved section)
β
Red flags? β Emergency page (When to call vet NOW)
- UK spelling (behaviour, favourite, colour)
- Every page includes: "Why this matters", "If you're stuck" box, "Do this now" panic steps
- Warm, reassuring tone that's never mean or cruel
- Sourced from RSPCA, Cats Protection, and vetted vet guidance
- Clear red flags for "call a vet NOW" situations
# Mac / Linux
bash run.sh
# Windows β double-click run.bat, or in a terminal:
run.batThe script automatically creates a Python virtual environment, installs dependencies, and opens the app in your browser.
pip install -r requirements.txt
streamlit run app.py- Push your code to GitHub
- Visit share.streamlit.io
- Sign in with GitHub and click "New app"
- Select your repository, branch (
main), and file (app.py) - Click "Deploy"
Your app will be live at https://[your-app-name].streamlit.app
See DEPLOYMENT.md for detailed instructions on:
- Docker deployment (Railway, Render, Google Cloud Run)
- Heroku deployment
- Azure App Service
- Self-hosted options
Quick Docker deployment:
docker build -t kitten-guide .
docker run -p 8501:8501 kitten-guideNavigate through the sidebar to access:
- Guide: Onboarding flows and progress tracking
- Search: Find help for specific issues
- Library: Browse by topic (Feeding, Litter, Behaviour, Health, Safety)
- Saved: Your bookmarked guides
- Emergency: When to call a vet NOW
Urgency levels clearly marked:
- π΄ Now: Call vet immediately (breathing issues, persistent vomiting, blood in stool)
- π Today: Schedule vet visit today
- π‘ Monitor: Watch and note, mention at next checkup
See LICENSE file for details.