Giter Club home page Giter Club logo

agape-deus's Introduction

Agape Deus

This is a simple CLI tool to fetch and print today's daily readings in the catholic church, written in Rust

Usage

$ agape --help

Usage: agape [OPTIONS]

Options:
  -s, --sunday   Get the readings for the upcoming sunday mass
  -h, --help     Print help information
  -V, --version  Print version information
  

Source

The readings are retrieved from Universalis.com

Installation

Linux

Install Rust (if necessary)

You will need to have the Rust build utility cargo installed. As this does not appear to be distributed on its own, you will need to install Rust.

How you do this will depend on your distribution. For example, on Manjaro, you would do as follows:

    $ sudo pamac install rust

Clone This repo

This assumes you have the git client installed.

    $ git clone https://github.com/ngorden/agape-deus.git

Build The Development Version

Assuming you've just cloned this repo into the current directory:

    $ cd agape-deus
    $ cargo build
  • You should see output from cargo indicating download of dependencies and a successful build.

  • You should now have the debug version of the executable in ./target/debug/agape

Test the Executable

    ./target/debug/agape
    ./agape

This should print today's readings to the terminal. Run agape --help for further information.

Make the Executable Available Globally

  • You will need to have readlink installed (it is typically installed as a standard utility in most Linux distributions).

  • The precise target location for the symbolic link may vary depending on your distribution. Typically, it should be /usr/bin.

    sudo ln -s $(echo $(readlink -f ./target/debug/agape)) /usr/bin/agape

You should now be able to invoke agape from any directory in a terminal session.

agape-deus's People

Contributors

ngorden avatar pglaser-engineer 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.