Skip to main content

Hike

Hike

GitHub Actions Workflow Status GitHub commits since latest release GitHub Issues or Pull Requests GitHub Release Date PyPI - License PyPI - Python Version PyPI - Version

Introduction

Hike is a Markdown browser for the terminal. It provides the ability to browse for and view local Markdown files, as well as Markdown files that can be downloaded from the web. It also has shortcuts that make it easy to view Markdown files on popular git forges.

Installing

pipx

The application can be installed using pipx:

pipx install hike

uv

The package can be install using uv:

uv tool install hike

If you don't have uv installed you can use uvx.sh to perform the installation. For GNU/Linux or macOS or similar:

curl -LsSf uvx.sh/hike/install.sh | sh

or on Windows:

powershell -ExecutionPolicy ByPass -c "irm https://uvx.sh/hike/install.ps1 | iex"

Other installation methods

The following installation methods have been provided by third parties; please note that I can't vouch for them myself so use them at your own risk.

X-CMD

The application can be installed using x-cmd:

x install hike

Using Hike

Once you've installed Hike using one of the above methods, you can run the application using the hike command.

The best way to get to know Hike is to read the help screen. Once in the application you can see this by pressing F1.

Hike Help

Commands can also be discovered via the command palette (ctrl+p):

The command palette

For more information and details on configuring Hike, see the online documentation.

Features

  • A command line where file names, URLs and commands can be entered.
  • A local file browser.
  • A simple bookmarking system.
  • A browsing history.
  • The ability to edit markdown documents in the local filesystem, either using your editor of choice or a simple builtin editor.
  • Commands for quickly loading and viewing files held on GitHub, GitLab, Codeberg and Bitbucket.
  • A command palette to make it easy to discover commands and their keys.
  • A rich help screen to make it easy to discover commands and their keys.
  • Possibly more as time goes on.

Editing

As mentioned above, Hike has support for editing markdown documents you're viewing from the local filesystem. While a builtin editor is provided, use of your own choice of editor is supported. If Hike finds that $VISUAL or $EDITOR are set in your environment then the resulting command will be used to edit the document (with $VISUAL being tried first, followed by $EDITOR).

File locations

Hike stores files in a hike directory within both $XDG_DATA_HOME and $XDG_CONFIG_HOME. If you wish to fully remove anything to do with Hike you will need to remove those directories too.

Expanding for the common locations, the files normally created are:

  • ~/.config/hike/configuration.json -- The configuration file.
  • ~/.local/share/hike/*.json -- The locally-held data.

Getting help

If you need help, or have any ideas, please feel free to raise an issue or start a discussion.

TODO

See the TODO tag in issues to see what I'm planning.

Release files for hike 1.4.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 hike 1.4.0
File Size Uploaded
hike-1.4.0.tar.gz 48.3 kB Details

Built distribution (wheel)

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

Total release size: 116.2 kB

Release files / hike-1.4.0.tar.gz

Download URL hike-1.4.0.tar.gz
Size 48.3 kB
Tags Source
SHA-256 checksum
How to use checksums
e9acdadac5c439aa788a2fc4aae2f0ddb61047c7f2d3654bdd2d8040a92c33c2
BLAKE2b-256 checksum
How to use checksums
dd6cc2b7cf0cb1f7356910e796cd67e3eb3757c210c549ab1e22ca768d05a174
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.11.1 {"installer":{"name":"uv","version":"0.11.1","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","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 / hike-1.4.0-py3-none-any.whl

Download URL hike-1.4.0-py3-none-any.whl
Size 67.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5b758ec176b8b108044b398d1557ed39e5a55d3deb4d6d0d37e330fb95e45e9c
BLAKE2b-256 checksum
How to use checksums
3b438b9eaf5ad7074a0a1c77468055c26e4474a91f1db47f45d8835478da17bb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.11.1 {"installer":{"name":"uv","version":"0.11.1","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","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 history Release notifications | RSS feed

This release

1.4.0 This release

2 release files

1.3.0

2 release files

1.2.1

2 release files

1.2.0

2 release files

1.1.4

2 release files

1.1.3

2 release files

1.1.2

2 release files

1.1.1

2 release files

1.1.0

2 release files

1.0.0

2 release files

0.12.0

2 release files

0.11.1

2 release files

0.9.0

2 release files

0.8.0

2 release files

0.7.0

2 release files

0.6.0

2 release files

0.5.0

2 release files

0.4.0

2 release files

0.3.0

2 release files

0.2.0

2 release files

0.1.0

2 release files

0.0.1

2 release files

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