Skip to main content

Meshtastic Firmware and APK Downloader

Project description

Fetchtastic Termux Setup

Fetchtastic is a tool to download the latest Meshtastic Android app and Firmware releases to your phone via Termux. It also provides optional notifications via an NTFY server.

Prerequisites

Install Termux and Add-ons

  1. Install Termux: Download and install Termux from F-Droid.
  2. Install Termux Boot: Download and install Termux Boot from F-Droid.
  3. Install Termux API: Download and install Termux API from F-Droid.
  4. (Optional) Install ntfy: Download and install ntfy from F-Droid.

Setup Termux Storage Access

Open Termux and run the following command to grant storage access:

termux-setup-storage

"Allow" when prompted, then restart Termux to apply the changes.

Installation

Step 1: Install Dependencies

pkg install python python-pip openssl -y

Step 2: Install Fetchtastic

pip install fetchtastic

Usage

Run the Setup Process

Run the setup command and follow the prompts to configure Fetchtastic:

fetchtastic setup

During setup, you will be able to:

  • Choose whether to download APKs, firmware, or both.
  • Select specific assets to download.
  • Set the number of versions to keep.
  • Configure automatic extraction of firmware files. (Optional)
  • Set up notifications via NTFY. (Optional)
  • Add a cron job to run Fetchtastic regularly. (Optional)

Perform Downloads

To manually start the download process, run:

fetchtastic download

This will download the latest versions of the selected assets and store them in the specified directories.

Command list

  • setup: Run the setup process.
  • download: Download firmware and APKs.
  • topic: Display the current NTFY topic.
  • clean: Remove configuration, downloads, and cron jobs.
  • --help: Show help and usage instructions.

Files and Directories

By default, Fetchtastic saves files and configuration in the Downloads/Fetchtastic directory:

  • Configuration File: Downloads/Meshtastic/fetchtastic.yaml
  • Log File: Downloads/Meshtastic/fetchtastic.log
  • APKs: Downloads/Meshtastic/apks
  • Firmware: Downloads/Meshtastic/firmware

You can manually edit the configuration file to change the settings.

Scheduling with Cron

During setup, you have the option to add a cron job that runs Fetchtastic daily at 3 AM.

To modify the cron job, you can run:

crontab -e

Notifications via NTFY

If you choose to set up notifications, Fetchtastic will send updates to your specified NTFY topic.

Contributing

Contributions are welcome! Feel free to open issues or submit pull requests.

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.1.6.tar.gz (12.0 kB view details)

Uploaded Source

Built Distribution

fetchtastic-0.1.6-py3-none-any.whl (13.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: fetchtastic-0.1.6.tar.gz
  • Upload date:
  • Size: 12.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for fetchtastic-0.1.6.tar.gz
Algorithm Hash digest
SHA256 cb0317c466bf707f30fdc77ef7ca4daab18d47093860ee8e856c8224d4f9a9c1
MD5 35baf1d489b930c437c1af1e6c28f57d
BLAKE2b-256 9b7aa5fd4cf5d8bf0a5c324ec215112e2f9eb7bcfc80aefd1b734b668ac2c943

See more details on using hashes here.

File details

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

File metadata

  • Download URL: fetchtastic-0.1.6-py3-none-any.whl
  • Upload date:
  • Size: 13.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for fetchtastic-0.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 33fb0c8920c0070da311d4643f7159959d3038ccc2d8cdf4f948e388d6c5afdf
MD5 68607e6d90c42e2005c7ca4a76a3f056
BLAKE2b-256 c488b751e9ed5d5b0b6675195944e1b891a7d018f7635f1c4b2ce94686e63871

See more details on using hashes here.

Supported by

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