GithubHelp home page GithubHelp logo

oi's Introduction

      ▪  ▄▄ 
▪     ██ ██▌
 ▄█▀▄ ▐█·▐█·
▐█▌.▐▌▐█▌.▀ 
 ▀█▄▀▪▀▀▀ ▀  - trivia on the command line

Documentation is my...

define_ah

use oi --help for full usage information

dependencies:

on all platforms the only thing you need installed is cargo.

  • Windows: https://win.rustup.rs/
  • Linux/macOS: curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh (or use your distro's package manager)

this is only required for building the binary, if you have no more use for cargo you can remove it afterwards

build instructions:

clone repo

cd into repo root

Linux

an install script has been provided, just run ./install.sh

macOS

run cargo build --release

then sudo cp ./target/release/oi /usr/local/bin

a zsh completion script is located at the following path ./etc/completions/_oi but I currently have no idea where to put it (sorry!)

Windows

run cargo build --release

then make a new folder in a location of your choosing

copy .\target\release\oi.exe [letter]:\path\to\your\folder

following this guide you can add your new folder to you environment PATH

a PowerShell completion script is located at the following path .\etc\completions\_oi.ps1 but I currently have no idea where to put it (sorry!)

I'll be providing pre compiled binaries for Linux, Windows & macOS in the releases section soon

TODO:

  • shell completion scripts
  • add a proper release with binaries
  • license?
  • improve docs
  • user customisable colours (using an environment variable)
  • general code improvements (and probable bug fixes)

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.