• Stars
    star
    638
  • Rank 70,537 (Top 2 %)
  • Language
    JavaScript
  • License
    Other
  • Created over 10 years ago
  • Updated over 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

โ• ๐Ÿ“ถ Get your GitHub Issues to read offline later. Mmm.

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

  • Have Node.js installed on computer.
  • From your command line, install this module npm install -g offline-issues
  • Authorize it by running offline-issues and following the commands.
  • Use it to save Issues as .md and .html. Options in next section.

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

  • Clone this repository: git clone https://github.com/jlord/offline-issues.git
  • Go inside this project: cd offline-issues
  • Install dependencies: npm install
  • Link this local version to your global npm link (or sudo npm link)
  • If you have trouble with this or don't want to override the published version (this one) you can run it through the path to the main file: <path-to-clone>/src/cli.js OPTIONS
  • On Ubuntu, use nodejs <path-to-clone>/src/cli.js (or nodejs $(which offline-issues)) to start the CLI

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:

  • More command line options like getting 'all' or 'closed' or 'open' or by 'author' or 'mention'.
  • Directory/Index of files you have.
  • Tests.
  • Spin up server.
  • Sync up the issues you currently have at a later date.

More Repositories

1

git-it-electron

๐Ÿ’ป ๐ŸŽ“ Git-it is a (Mac, Win, Linux) Desktop App for Learning Git and GitHub
Perl
4,665
star
2

sheetsee.js

๐Ÿ‘€ ๐Ÿ“ˆ Visualize Data from a Google Spreadsheet
JavaScript
2,880
star
3

git-it

๐Ÿ’ป ๐ŸŽ“ Learn Git and GitHub. Try the new desktop version โ†’
HTML
1,977
star
4

patchwork

All the Git-it Workshop completers!
Rich Text Format
1,115
star
5

sheetdown

๐Ÿ“ƒ โฌ‡๏ธ Convert a Google Spreadsheet into a Table in Markdown
JavaScript
339
star
6

essential-electron

Concise plain-speak about Electron
HTML
318
star
7

hello-world

๐Ÿ‘‹ ๐ŸŒ This is an idea
200
star
8

hack-spots

Using Sheetsee.js and power of collaboration to collect the best places to get your hack on.
JavaScript
158
star
9

hello

[Fork-n-Go] A simple personal page. Demo:
CSS
133
star
10

forkngo

A site about how awesome Fork-n-go is!
HTML
128
star
11

sheetsee-calendar

Website with calendar of events from a Google Spreadsheet
JavaScript
97
star
12

balrog

Learn by making presents: A Static Site Generator (WIP)
JavaScript
86
star
13

lending-library

A fork-and-go repo for creating a tool lending library website.
JavaScript
74
star
14

federal-gov

JavaScript
72
star
15

hasinternet

checks for internet, works in browser and node
JavaScript
60
star
16

sheetsee-pocket

A website for your Pocket article archive. Fork-n-Go!
JavaScript
58
star
17

sheetsee

Command line module to build custom Sheetsee builds
JavaScript
45
star
18

gs2geojson

Make geoJSON from Google Spreedsheets
JavaScript
39
star
19

old-site

COOOL
JavaScript
38
star
20

person-page

Simple bio page with twitter and instagram. Fork-n-go!
JavaScript
33
star
21

reporobot

Robot that interacts with repos for much Git/GitHub learning fun!
JavaScript
33
star
22

gardening

CLI to see if you made a open source contribution today/yesterday
JavaScript
31
star
23

mappy

[Fork-n-Go] Fullscreen Map from Spreadsheet
JavaScript
27
star
24

sheetsee-maps

Module for adding maps to sheetsee.js
JavaScript
27
star
25

cli-boilerplate

Paste or write a HTML boilerplate file from the command line
JavaScript
26
star
26

sheetsee-cache

write/cache google spreadsheet data with node.js - work in progress
JavaScript
23
star
27

gh-pages-template

Fork this to start your own site or template for free hosting on GitHub Pages
HTML
22
star
28

sheetsee-tables

Module for creating tables with sheetsee.js
JavaScript
21
star
29

dotfiles

Stop losing them, me.
JavaScript
15
star
30

javascript-for-cats-electron

๐Ÿˆ ๐Ÿ’ป JavaScript for Cats...on Electron
HTML
14
star
31

vermeer

#vermeergoals
JavaScript
14
star
32

sheetsee-core

Module with core data manipulation functions for sheetsee.js
JavaScript
13
star
33

open-data-guide

A guide for the why and how to opening government data.
CSS
13
star
34

pollen

What to do with a bunch of pollen data
11
star
35

electron-workshopper-template

๐Ÿ’ป ๐Ÿ”ฌ A template for building workshops on Electron
9
star
36

sheetsee-starter

Fork and get started with Sheetsee.js!
JavaScript
9
star
37

edu-on-github

Examples and resources for using GitHub as a tool for educators
9
star
38

jlord

It's me!
8
star
39

sorting-rocks

gonna make an atom shell app its gonna be like iPhoto/Photos but not do things i don't want it to
HTML
7
star
40

atom-party-theme

That time when you redo something because you forgot to back it up and then your computer died
CSS
7
star
41

sheetsee-charts

Add charting making functionality to sheetsee.js
JavaScript
7
star
42

glitch-spreadsheet

Repository for
HTML
7
star
43

seepennywork

Website for See Penny Work project - parallax scrolling!
CSS
6
star
44

Valentine-s-Day

Gotta start somewhere
6
star
45

ODB

Opening dirty files from a branch
JavaScript
6
star
46

the-muan-room

It's not weird.
JavaScript
5
star
47

tn-inserts

Traveler's Notebook Insert Templates
4
star
48

write-on

w o r k i n p r o g r e s s
4
star
49

jlord.github.io

Next site... let's remember how!
CSS
4
star
50

spreadsheet-collector

Set up server to cache and serve data from Google Spreadsheets
JavaScript
4
star
51

osos

My OS//OS 2015 Slides
HTML
4
star
52

jsfest

Slides and resources from my talk at JSFest 2014
4
star
53

spreadsheet-mongodb

CLI tool to put Google Spreadsheet data into a MongoDB collection
JavaScript
4
star
54

tri-catch

website for viewing arrival times of pdx buses at your fave stops
3
star
55

places

Map!
JavaScript
3
star
56

mdtocsv

Markdown table to CSV
JavaScript
3
star
57

atom-party-theme-ui

Neon Party
CSS
3
star
58

gundeaths

using sheetsee and @gundeaths data
JavaScript
3
star
59

jlord-portfolio

portfolio site is a Wordpress theme built off of Starkers and includes some fun JavaScript times.
PHP
3
star
60

statusbar

Probably a terrible name.
2
star
61

whoops

JavaScript
2
star
62

project-tables

Filter PRs and Issues from GitHub through labels for projects.
JavaScript
2
star
63

osos-demo

demo
HTML
2
star
64

Reading-Page

A page good for reading
JavaScript
2
star
65

hitestcooltest

2
star
66

spreadsheet-schedule

WIP
JavaScript
2
star
67

notes

It's a blog!
HTML
2
star
68

open-data-census-icons

icons for openness
2
star
69

My-Lord-s-Sound

Doink
2
star
70

begin-hello-world-app

Begin app
JavaScript
2
star
71

mozfest-demo

Simple Sheetsee map demo for Mozfest session
JavaScript
2
star
72

new-tab

[WIP]
CSS
2
star
73

forkngo-resist

Forkable sites with spreadsheet databasesโ€”for the Resistance!
HTML
2
star
74

testthisisatestwow

2
star
75

pebble-cat-app

Cool app shows picture of cat
Python
2
star
76

simplepersonalsite

The step in between the time it takes to create a real portfolio site is the time it takes to make a tiny site with links.
2
star
77

veil-look

Glitch weblog
Nunjucks
1
star
78

mindgrapes

Keep up with things.
1
star
79

splost-heroku

Wordpress on Heroku
PHP
1
star
80

Eloquent-Javascript

jlord learns js
1
star
81

flashcards

WIP
CSS
1
star
82

wp-ecab

Wordpress for ECAB on Heroku: ecab.herokuapp.com (obvs not designed yet)
PHP
1
star
83

imtesting

testtest
1
star
84

tictactoe

really needed in the world
1
star
85

urbanists

ignite talk from last cfa day
1
star
86

docs-boilerplate

wwwwiiiiippp
JavaScript
1
star
87

hyperterm-vermeer

:D
1
star
88

testrepo

cool
1
star
89

talks

Talks-n-Things all in one place.
JavaScript
1
star
90

tempportpage

A simple page for displaying a abridged portfolio of work. In other words, the one before the real one.
1
star
91

hello-mozfest

At MozFest!
1
star
92

notecards

work in progress
CSS
1
star
93

books

Books I'm reading!
1
star
94

git-push-deploy

it's for git push deploying
1
star
95

bostonstay

table of places to stay in boston
JavaScript
1
star
96

portfolio

A portfolio site template
1
star
97

menu-stickies

A menubar stickies app for an introduction to Electron
CSS
1
star
98

schools

JavaScript
1
star
99

ecab

Open Source Making - ecabonline.com
1
star
100

hello-there

A forkable, simple site for hack day.
HTML
1
star