Skip to main content

Meshtastic Firmware and APK Downloader

Project description

Fetchtastic

Fetchtastic is a utility for downloading and managing the latest Meshtastic Android app and Firmware releases. It also provides optional notifications via NTFY.

Table of Contents

Installation

Termux Installation (Android)

Fetchtastic can be installed on your Android device using Termux.

Prerequisites

  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.

Install Dependencies

Open Termux and run:

pkg install python python-pip openssl -y

Install Fetchtastic

pip install fetchtastic

Windows/Mac/Linux Installation

Fetchtastic can also be installed on Windows, macOS, or Linux systems.

Install with pipx (Recommended)

It's recommended to use pipx to install Fetchtastic in an isolated environment.

  1. Install pipx:

    Follow the installation instructions for your platform on the pipx documentation page.

    Restart your terminal or command prompt after installing pipx.

  2. Install Fetchtastic with pipx:

    pipx install fetchtastic
    

Install with pip

Alternatively, you can install Fetchtastic using pip:

pip install fetchtastic

Usage

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 (default is 2 on Termux, 3 on desktop platforms).
  • Configure automatic extraction of firmware files. (Optional)
  • Set up notifications via NTFY. (Optional)
    • Choose to receive notifications only when new files are downloaded. (Optional)
  • Add a cron job to run Fetchtastic regularly. (Optional)
    • On Termux, Fetchtastic can be scheduled to run daily at 3 AM using Termux's cron.
    • On Windows/Mac/Linux, Fetchtastic can be scheduled using the system's cron scheduler.

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.
  • version: Display Fetchtastic version.
  • help: Show help and usage instructions.

Files and Directories

By default, Fetchtastic saves files and configuration in the Downloads/Meshtastic 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.

Termux

The setup process will configure the cron job using Termux's cron implementation.

To modify the cron job, you can run:

crontab -e

Windows

You can schedule Fetchtastic to run automatically using the Task Scheduler.

  1. Open Task Scheduler.
  2. Create a new Basic Task.
  3. Set the action to Start a program and enter fetchtastic download.

macOS/Linux

The setup process will configure the cron job using the system's cron scheduler.

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.

  • You can subscribe to the topic using the ntfy app or by visiting the topic URL in a browser.
  • You can choose to receive notifications only when new files are downloaded.

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

Uploaded Source

Built Distribution

fetchtastic-0.2.0-py3-none-any.whl (18.4 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for fetchtastic-0.2.0.tar.gz
Algorithm Hash digest
SHA256 12d4e9fc18a43101cc8f8791f125c3dbfffc6a0ee488cd24df301dce9229e18a
MD5 9ea224e34dd517f7489b52668d9aabe8
BLAKE2b-256 d4c291bdf297a087bb63b83bb8387fa4ad10f166cf4f645fd006f392a5afdd20

See more details on using hashes here.

Provenance

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

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

Attestations:

File details

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

File metadata

  • Download URL: fetchtastic-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 18.4 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.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1c0d7c139f6cebdd02692ac5ae9c5c6fc1de796bee660b903b9fae5e98b46cbd
MD5 f9415bc99fb5365fea345c98da233d82
BLAKE2b-256 03b05f281c7897043fdd3870ecae97c5e130e362bfccec58068a5958b84d3936

See more details on using hashes here.

Provenance

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

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

Attestations:

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