Files
LBRY-Downloader/DOCUMENTATION_INDEX.md
T
thePR0M3TH3AN e707400ffd Complete LBRY Downloader implementation v1.0.0
Features:
- Incremental sync with version tracking (sd_hash)
- Per-channel download paths
- Download limit (default: 10 most recent per channel)
- Interactive setup script with user prompts
- Uninstall script for clean removal
- Comprehensive test suite (42 tests)
- Full documentation suite

Files:
- 9 Python core modules (main, models, utils, config, client, state, planner, downloader, init)
- 3 Setup scripts (setup.py, uninstall.py, install.sh)
- 5 Test files (42 tests, all passing)
- 9 Documentation files
- 4 Build/config files

Total: 31 files, ~4,500 lines
2026-03-15 18:10:56 -04:00

5.0 KiB

Documentation Index

Not sure where to start? This guide helps you find the right documentation.

🚀 Getting Started

New user? Start here:

  1. LINUX_SETUP.md - Complete Linux installation guide

    • System requirements
    • Step-by-step installation
    • Configuration examples
    • Troubleshooting common issues
    • Setting up automation
  2. QUICKSTART.md - Get running in 5 minutes

    • Minimal setup instructions
    • Basic usage
    • Common commands
  3. README.md - Project overview

    • Features
    • Basic usage
    • Architecture

📖 Detailed Documentation

For Users

Setup Scripts

  • setup.py - Interactive installation script (recommended)

    • Checks dependencies
    • Sets up virtual environment
    • Configures download location
    • Sets up channels
    • Creates launcher scripts
  • uninstall.py - Uninstallation script

    • Finds installation automatically
    • Shows what will be removed
    • Asks for confirmation
    • Cleans up PATH entries

For Developers

  • SPEC.md - Detailed implementation specification

    • Architecture decisions
    • Data models
    • API design
    • File structure
    • State management
  • AGENTS.md - Development guidelines

    • Coding standards
    • Architecture rules
    • Testing requirements
    • Change policies
  • CHANGELOG.md - Version history and changes

🔧 Setup Guides by Platform

Linux (Debian/Ubuntu/Mint)

Quick Install:

./install.sh

Manual Install: See LINUX_SETUP.md for:

  • Installing Python and dependencies
  • Installing lbrynet daemon
  • Configuration setup
  • Systemd service setup
  • Cron job automation

Other Platforms

The tool should work on any platform with Python 3.8+, but you'll need to:

  1. Install Python 3 and pip
  2. Install the LBRY SDK (lbrynet)
  3. Install Python dependencies from requirements.txt
  4. Run python init.py

📋 Configuration

🧪 Development

Running Tests

make test
# OR
python -m pytest tests/ -v

Code Structure

main.py           - Entry point
models.py         - Data structures
utils.py          - Helper functions
config_loader.py  - Configuration parsing
lbry_client.py    - Daemon communication
state_db.py       - State management
planner.py        - Download decisions
downloader.py     - Download execution

See SPEC.md for detailed architecture.

🐛 Troubleshooting

Common issues are covered in:

📦 Additional Files

📝 Contributing

  1. Read AGENTS.md for development guidelines
  2. Review SPEC.md for architecture details
  3. Follow existing code style
  4. Add tests for new features
  5. Update documentation

🔗 External Resources

🆘 Getting Help

  1. Check the logs: ~/Documents/lbry-downloads/state/run-history.jsonl
  2. Run with debug mode: Set log_level: "DEBUG" in config
  3. Test daemon: curl http://127.0.0.1:5279
  4. Review LINUX_SETUP.md troubleshooting section

📚 Documentation Roadmap

  • README - Project overview
  • QUICKSTART - Quick start guide
  • LINUX_SETUP - Linux installation
  • SPEC - Implementation details
  • AGENTS - Development guidelines
  • CHANGELOG - Version history
  • API documentation (generated)
  • Video tutorial (future)
  • FAQ (future)

🎯 Quick Reference

Most users need:

  1. LINUX_SETUP.md - To install
  2. config.yaml.example - To configure
  3. README.md - To understand features

Developers need:

  1. AGENTS.md - To understand code standards
  2. SPEC.md - To understand architecture
  3. Source code - Well-commented Python files

Can't find what you need?

  • Check the source code - it's well-documented
  • Look at the tests in tests/ for usage examples
  • Review SPEC.md for design decisions