Giter Club home page Giter Club logo

runepal's Introduction

runepal

A small CLI project to play with Elder Futhark runes.

Built to learn Haskell on practice.

Setup

Build

Use stack to build it:

stack build

Use stack to run:

stack run

Install

Install runepal into your local binary space. For instance:

stack install --local-bin-path ~/.local/bin 

Add to $PATH, if needed:

export PATH=$HOME/.local/bin:$PATH

And run like this:

runepal-exe Thurisaz

Feel free to create a short alias:

alias rnp="runepal-exe"

Usage

runepal prints random rune with some info by default:

rnp
  ᛒ (b)
 Berkanan: birch
 Aett: Tyr
 Divination:
  Berkanan, literally birch, is a rune of female energy and 
  fertility. It could tell you that beauty will be faced and
  passion will be experienced. Berkanan encourages to enjoy 
  love, focus maternity and uncover tenderness.

You can print info for a rune of your choice:

rnp othala
  ᛟ (o)
 Othala: heritage, estate, possession
 Aett: Tyr
 Divination:
  Othala stands for home, heritage -- possessions that are   
  not merely materialistic. The rune strongly reflects       
  ancestry and invaluable entities like family, kin, culture.
  The main message of Othala is to maintain your house and   
  cherish the tradition. 

Also, you can list the whole Elder Futhark and output rune data in CSV format.

rnp help
Usage: command [arg]
  * no arg -- print data for random Futhark rune
  * rune name (case insensitive) -- print data for a rune of your choice
  * list -- list all Futhark runes
  * csv -- print all rune data in CSV format (pipe to file if needed)
  * help -- print this help message

runepal's People

Contributors

bebyx 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.