Skip to content

sara62/fire

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Command-line tool to view posts from your favorite Reddit subreddits filtered by score.

console gif

Default configuration file for fire located at $HOME/.fire.json

Overview

Every day I wake up in the morning and check my favorite Reddit subreddits for a good new posts. Sometimes I have no enough time to browse the web - so I've written fire - command-line utility that keeps a list of my favorite subreddits and pretty prints current hot posts in console (or opens them in browser tab) based on minimal score for subreddit I previously set in configuration.

Installation

go get github.com/FZambia/fire

Or just download binary release for your platform here.

Usage

Show help information:

fire --help

Add (Update) subreddit with minimal score in configuration:

fire add python 50
fire add gifs 3000

Get entries for subbreddits from configuration:

fire

Get entries filtered by score for subreddit not currently listed in configuration:

fire get golang 20

Show all current configuration subreddits:

fire list

Delete subreddit from configuration

fire delete python

Use custom configuration file

fire -c custom_config.json

To get JSON output in console:

fire --json

And finally the sweetest thing - browser output!

fire --browser get gifs 3000

And your default browser will open a tab with something like this:

console gif

LICENSE

MIT

About

Command-line tool to view posts from your favorite Reddit subreddits filtered by score

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 100.0%