Skip to main content

Meshtastic Firmware and APK Downloader

Project description

Fetchtastic

A simple, cross-platform utility for downloading and managing Meshtastic firmware and Android app releases.

Fetchtastic automatically downloads the latest Meshtastic firmware and Android APK releases from GitHub, with support for notifications, scheduling, and repository browsing.

โœจ Features

  • ๐Ÿ”„ Automatic Downloads: Latest firmware and Android APK releases
  • โšก Async Download Engine: aiohttp-based downloads with connection pooling and retry/backoff
  • ๐Ÿ“ฑ Cross-Platform: Linux, macOS, Windows, and Android (Termux)
  • ๐Ÿ—‚๏ธ Repository Browser: Browse and download files from meshtastic.github.io
  • ๐Ÿ”” Notifications: Push notifications via NTFY
  • โฐ Scheduling: Automatic downloads via cron/startup scripts
  • ๐ŸŽฏ Smart Selection: Choose specific devices and APK variants
  • ๐Ÿ“ฆ Auto-extraction: Extract firmware files from zip archives
  • โœ… Stronger Integrity Checks: Hash-based verification and ZIP integrity validation
  • ๐Ÿšฆ GitHub API Resilience: Centralized release fetching, defensive parsing, caching, and rate-limit-aware behavior
  • ๐Ÿงต Parallel Validation: Release completeness checks run in parallel for faster scans
  • ๐Ÿ”ง Easy Setup: One-command installation with guided setup

๐Ÿš€ Quick Start

One-Line Installation

Linux/MacOS/Android (Termux):

curl -sSL https://raw.githubusercontent.com/jeremiah-k/fetchtastic/main/src/fetchtastic/tools/setup_fetchtastic.sh | bash

Security Note: For security-conscious users, you can inspect the script before running it.

Windows (PowerShell):

irm https://raw.githubusercontent.com/jeremiah-k/fetchtastic/main/src/fetchtastic/tools/setup_fetchtastic.ps1 | iex

Security Note: For security-conscious users, you can inspect the script before running it.

Basic Usage

# Run setup (first time)
fetchtastic setup

# Download latest releases
fetchtastic download

# Browse repository files
fetchtastic repo browse

๐Ÿ“– Documentation

Installation Guides

Usage

๐Ÿ”ง Commands

fetchtastic setup         # Run the setup process
fetchtastic download      # Download firmware and APKs
fetchtastic cache clear   # Clear cached API data
fetchtastic repo browse   # Browse repository files
fetchtastic repo clean    # Clean repository downloads
fetchtastic topic         # Show NTFY topic
fetchtastic version       # Show version
fetchtastic clean         # Remove all configuration

๐Ÿ—๏ธ Architecture Highlights

  • Shared GitHub release source: Release parsing and validation are centralized for consistency across firmware and Android paths.
  • Async + sync compatibility: Async download paths are first-class, with sync fallbacks when async libraries are unavailable.
  • Defensive verification flow: Size checks, hash baselines, and ZIP integrity checks are combined to reduce false positives.
  • Better retry semantics: Retryable vs non-retryable errors are preserved to improve behavior and diagnostics.

๐Ÿ“ File Organization

Downloads are organized in a clean structure:

~/Downloads/Meshtastic/
โ”œโ”€โ”€ apks/
โ”‚   โ”œโ”€โ”€ v2.3.2/
โ”‚   โ””โ”€โ”€ v2.3.1/
โ”œโ”€โ”€ firmware/
โ”‚   โ”œโ”€โ”€ v2.3.2/
โ”‚   โ”œโ”€โ”€ v2.3.1/
โ”‚   โ”œโ”€โ”€ repo-dls/      # Repository browser downloads
โ”‚   โ””โ”€โ”€ prerelease/    # Pre-release firmware (optional)

๐Ÿ”” Notifications

Get notified when new releases are downloaded:

  1. Enable NTFY during setup
  2. Install the ntfy app or use the web interface
  3. Subscribe to your unique topic
  4. Receive push notifications for new downloads

โฐ Scheduling

Set up automatic downloads:

  • Linux/macOS: Cron jobs (daily at 3 AM)
  • Windows: Startup folder shortcuts
  • Termux: Boot scripts and cron jobs

๐Ÿ†™ Upgrading

Automatic (recommended):

  • Windows: Use Start Menu โ†’ Fetchtastic โ†’ "Check for Updates"
  • Linux/macOS/Termux: Re-run the installation script

Manual:

pipx upgrade fetchtastic

๐Ÿค Contributing

Contributions are welcome! Please feel free to:

  • Report bugs and issues
  • Suggest new features
  • Submit pull requests
  • Improve documentation

Visit the GitHub repository to get started.

๐Ÿงช Development & Testing

# create and activate environment
python3 -m venv .venv
. .venv/bin/activate

# install dependencies
pip install -r requirements.txt
pip install -r requirements-dev.txt

# run tests
python -m pytest tests/

Test suite organization uses markers such as unit, integration, core_downloads, user_interface, configuration, and infrastructure.

๐Ÿ“„ License

MIT License - see LICENSE for details.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fetchtastic-0.10.6.tar.gz (484.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

fetchtastic-0.10.6-py3-none-any.whl (273.3 kB view details)

Uploaded Python 3

File details

Details for the file fetchtastic-0.10.6.tar.gz.

File metadata

  • Download URL: fetchtastic-0.10.6.tar.gz
  • Upload date:
  • Size: 484.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for fetchtastic-0.10.6.tar.gz
Algorithm Hash digest
SHA256 c753a1e1e551221673620be004134aa2bfb75af20d4e76f692d03f78ed55c866
MD5 c07ad5b869885e2c897dc285a41d9dd9
BLAKE2b-256 fc8724893269c56008167de7c4956c5e571a923fa1e8721b5835729403af96b7

See more details on using hashes here.

Provenance

The following attestation bundles were made for fetchtastic-0.10.6.tar.gz:

Publisher: pypi-publish.yml on jeremiah-k/fetchtastic

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file fetchtastic-0.10.6-py3-none-any.whl.

File metadata

  • Download URL: fetchtastic-0.10.6-py3-none-any.whl
  • Upload date:
  • Size: 273.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for fetchtastic-0.10.6-py3-none-any.whl
Algorithm Hash digest
SHA256 5c8e525ed84b06f818fd3a6684d11539a9a89694f5c5d8cb0ce1455d9d14ebb8
MD5 12fe0fb13c66c7ca7c0bc3564d489dfa
BLAKE2b-256 5fe366a1a7f376b3a7af3790a444c0d89281c31717cc1eb46ba91c1ede1d8cd3

See more details on using hashes here.

Provenance

The following attestation bundles were made for fetchtastic-0.10.6-py3-none-any.whl:

Publisher: pypi-publish.yml on jeremiah-k/fetchtastic

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page