jlord / offline-issues

:grey_exclamation: :signal_strength: Get your GitHub Issues to read offline later. Mmm.
Other
640 stars 68 forks source link

offline-issues

js-standard-style

Get your GitHub Issues offline! In Markdown and HTML.

This is a command line application, using Node.js, that fetches the GitHub Issue/s you specify and writes them to files on your computer in both HTML and markdown formats. This way you can view them without an internet connection.

This will cap issues at the first 250.

screenshot

To Use

Command Line Interface (CLI)

For one issue:

$ offline-issues USER/REPO#0

For all issues:

$ offline-issues USER/REPO

For multiple repositories or issues:

$ offline-issues USER/REPO USER/REPO#0

Example:

$ offline-issues jlord/offline-issues muan/github-gmail#4

The files are written to whichever directory you are currently in. You will see a md and html folder added, each of which contains the issues you requested.

Options

To just generate HTML files from existing offline cache:

$ offline-issues -h
$ offline-issues --html

To skip generating static files for HTML:

$ offline-issues -S USER/REPO
$ offline-issues --no-static USER/REPO

To save generated files in different location:

$ offline-issues -d DIRECTORY USER/REPO
$ offline-issues --destination DIRECTORY USER/REPO

To filter by issue state:

$ offline-issues -s all USER/REPO
$ offline-issues --state all USER/REPO

This option accepts either open, closed or all. (Default: open) Note that the filter won't be applied when issue number is specified, like muan/github-gmail#4.

Build / Develop Locally


Future times

Currently working at MVP level -- it gives you the issues you specify. But I want to add (or recieve Pull Requests!) to it: