Skip to main content

Handle gracefully openning links that are inside text files. Simple as that.

Project description

Linksopen

linksopen is a lightweight command-line tool installed locally into your user environment. It is designed to be simple, portable, and shell-friendly, without relying on system-wide package managers.

The project ships with an installer and uninstaller that manage everything inside ~/.local/bin.


Features

  • Local user installation (no root required)
  • Automatic PATH configuration
  • Supports Bash, Zsh, and Fish
  • Clean uninstall process
  • Zero external Python dependencies

Requirements

  • Unix-like system (Linux, macOS, WSL)
  • Python 3.14+
  • A POSIX-compatible shell (bash, zsh, or fish)

Install

Via pipx

pipx install linksopen

Option 2: Manual

Clone the repository and from the project root, run:

./install.sh

Usage

Once installed, you can run linksopen directly from your terminal. Example usage:

# Open text file links with default browser.
linksopen textfile_with_link.txt

# It can handle multiple urls.
linksopen my_links.md

Uninstall

./uninstall.sh

This deletes the executable from ~/.local/bin and leaves shell configuration files untouched.

Restart your shell after uninstalling.

Project Structure

├── linksopen.py        # Main Python executable
├── install.sh          # Installer script
├── uninstall.sh        # Uninstaller script
├── pyproject.toml      # Project metadata
├── README.md           # Documentation
└── LICENSE             # MIT License

Python Metadata

[project]
name = "linksopen"
version = "0.1.0"
description = "Handle gracefully openning links that are inside text files. Simple as that."
readme = "README.md"
requires-python = ">=3.14"
dependencies = []

The project currently has no external dependencies.

Notes on Implementation

  • PATH entries are added only if missing for bash, zsh and fish. Others posix compliant shells must add ~/.local/bin/ to path manually.

License

MIT License

Copyright (c) 2026 Rodolfo Souza

Permission is granted to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software.

The Software is provided “as is”, without warranty of any kind.

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

linksopen-0.1.1.tar.gz (4.9 kB view details)

Uploaded Source

Built Distribution

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

linksopen-0.1.1-py3-none-any.whl (5.2 kB view details)

Uploaded Python 3

File details

Details for the file linksopen-0.1.1.tar.gz.

File metadata

  • Download URL: linksopen-0.1.1.tar.gz
  • Upload date:
  • Size: 4.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for linksopen-0.1.1.tar.gz
Algorithm Hash digest
SHA256 f3e66aec1a5aa981cd0748c7ded6dcada9f6f5ae074239e8c8bfe147e40d49c5
MD5 e73da0caaba6f433bd1253da7ec7a485
BLAKE2b-256 5937c8a91412f9a83e3e916024b684fecbb8a30aa823fca526c0189f855d0933

See more details on using hashes here.

File details

Details for the file linksopen-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: linksopen-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 5.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for linksopen-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 7893fd4cb5c6208c61ee3af13600f719506f5f62c91375e3a474c607ddf65bfb
MD5 c626cbf636fa1c45ccc6bbd5bc3b2019
BLAKE2b-256 f65eea6f435f2b1683cb5ad90a96a86af5425028c5671139b601fbb56f3a2c5c

See more details on using hashes here.

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