Skip to main content

A Markdown browser for the terminal

Project description

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

Homebrew

The package is available via Homebrew. Use the following commands to install:

brew tap davep/homebrew
brew install hike

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.

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

hike-1.2.1.tar.gz (46.2 kB view details)

Uploaded Source

Built Distribution

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

hike-1.2.1-py3-none-any.whl (65.5 kB view details)

Uploaded Python 3

File details

Details for the file hike-1.2.1.tar.gz.

File metadata

  • Download URL: hike-1.2.1.tar.gz
  • Upload date:
  • Size: 46.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.0

File hashes

Hashes for hike-1.2.1.tar.gz
Algorithm Hash digest
SHA256 07a4868d9afa7b1dada20fe4304f8629c5857f738b9cb1c04d08253f85c829b7
MD5 c9692813cf6056c9d50e2990b4f10d8a
BLAKE2b-256 650e501d36963efff5a76d036a675c05c5c08639cf909578f1d077ead54e737c

See more details on using hashes here.

File details

Details for the file hike-1.2.1-py3-none-any.whl.

File metadata

  • Download URL: hike-1.2.1-py3-none-any.whl
  • Upload date:
  • Size: 65.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.0

File hashes

Hashes for hike-1.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 de15f6e4d9a20e0350a4697ef415f8328039749f2882a6dbd871c0ecaf5562f0
MD5 d89720137470b934fa4334973f443a9a
BLAKE2b-256 56afd262d1589930bd63d14d2f1742ae156a2b792caf8ec606d3f8a7305bfa2c

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