Code Monkey home page Code Monkey logo

elreg-cli's Introduction

The Register CLI

The Register CLI a.k.a. elreg-cli is a command-line interface (CLI) tool written in Go that allows you to read articles from The Register (https://theregister.com) directly in your terminal.

Installation

To install elreg-cli, you need to have Go installed on your system. Once you have Go set up, you can install the tool by running the following command:

go install github.com/CADawg/elreg-cli@latest

This will install the elreg-cli command in your Go bin directory.

Usage

To start the application, simply run the elreg-cli command in your terminal:

elreg-cli

Upon launching, you will see the homepage of The Register, displaying a list of headlines. You can navigate through the headlines using the following commands:

  • <number>: Type the number corresponding to the headline you want to read.
  • a: Show all headlines at once.
  • s: Show the next 5 headlines.
  • q: Quit the application.

When reading an article, you can use the following commands:

  • Enter: Advance to the next paragraph/line of the article.
  • a: Display the entire article at once.
  • q: Go back to the main menu.
  • r: Mark the article as read and go back to the main menu.
  • q: Go back to the main menu without marking the article as read.
  • u: Mark the article as unread and go back to the main menu.

Features

  • Read articles from The Register directly in your terminal.
  • Navigate through headlines and articles using simple commands.
  • Supports pagination for long articles.

Limitations

  • No arrow key support.
  • No search functionality.

Contributing

If you find any issues or have suggestions for improvements, feel free to open an issue or submit a pull request on the GitHub repository.

elreg-cli's People

Contributors

cadawg avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.