Skip to main content

freetar - an open source alternative front-end to ultimate-guitar.com

This is like Invidious but only for Ultimate Guitar.

Instances

Features

  • no ads, popups, AI, blockchain. Just a simple design
  • search for tabs and view them
  • save your favorite chords as favs (everything is stored in session storage (not send to the server), no account needed)
  • dark mode
  • auto scroll
  • useful for printing chords
  • show chords
  • prvent screen from turning off (using WakeLock API)

How to use it

After successful installation, there is an executable called freetar in the PATH. Execute it without parameters and it listens on 0.0.0.0:22000. You can specify a custom listen host or port by using environment variables.

Environment variables

  • DEBUG=1 to get debug output
  • FREETAR_HOST
  • FREETAR_PORT
  • FREETAR_CACHING (ram (default) for memory caching, use off for developing/debugging, disk for disk cache)
  • FREETAR_CACHE_TIMEOUT (how log should tabs be cached in memory, reduces the requests to Ultimate Guitar, defaults to 0 (inifnity), only needed if ram or disk caching is used)
  • CACHE_THRESHOLD amount of files to cache, default 100000
  • FREETAR_CACHE_DIR (location of disk cache, defaults to /tmp)
  • FREETAR_LOCAL=1 fetches directly from Ultimate Guitar instead of the public Freetar proxies.

PyPi
Package: https://pypi.org/project/freetar/

pip install freetar

Docker
Image: https://hub.docker.com/r/kmille2/freetar
Port: 22000

sudo docker pull kmille2/freetar
sudo docker run -p 127.0.0.1:22000:22000 kmille2/freetar

Or use Docker compose:

sudo docker compose up -d

Set a custom bind port with the environment variable FREETAR_PORT. If you use disk cache, the mounted directory needs to be chown 1000:1000 .

You can also build and run the local repository instead of pulling from Docker Hub:

docker compose build
docker compose up -d

Dev environment

You need uv. Then:

FREETAR_CACHING=off uv run freetar/backend.py  # dev server
FREETAR_CACHING=off uv run freetar # production server
vim freetar/*.py
Visit localhost:22000 in browser

# static files: freetar/static/*
# html templates: freetar/templates/*

Future work

  • improve UX on mobile devices
  • package it as PGA (Progressive Web App)
  • share chords (qr code)? (done by #12 with export/import functionality)
  • save favs encrypted server side?
  • Browser Extension like Invidious Redirection (done)
  • show qr code to quickly share a tab?

Contributions

Feel free to contribute, but please create an issue before with a proposal of the feature. I don't want freetar to be bloated (neither UI nor functionality).

Metadata

Release files for freetar 0.22.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for freetar 0.22.0
File Size Uploaded Provenance Actions
freetar-0.22.0.tar.gz 117.0 kB Without provenance Details for freetar-0.22.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for freetar 0.22.0
File Interpreter ABI Platform Actions
freetar-0.22.0-py3-none-any.whl Python 3 none any Details for freetar-0.22.0-py3-none-any.whl

Total release size: 235.2 kB

Release files / freetar-0.22.0.tar.gz

Download URL freetar-0.22.0.tar.gz
Size 117.0 kB
Tags Source
SHA-256 checksum
How to use checksums
12f86e7418be0d0a7ee51beff3395dfbcfbf3f2830942a718c3460289f9ea312
BLAKE2b-256 checksum
How to use checksums
596b15c25a2ed340a042ed6c3c5aacf280d57d563dee1cadd9cca2b3ef6342c2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.7 {"installer":{"name":"uv","version":"0.13.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Arch Linux","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / freetar-0.22.0-py3-none-any.whl

Download URL freetar-0.22.0-py3-none-any.whl
Size 118.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d819b286326d8217c71cec8179ac40193c3354e4dc41681863f9d8ad457cc8f5
BLAKE2b-256 checksum
How to use checksums
e4685a53d6bb1e201f1c2849b2a6da3baea27b94554ba90a0c4717ce4c220dc8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.7 {"installer":{"name":"uv","version":"0.13.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Arch Linux","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Security for freetar 0.22.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.22.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page