Coder Social home page Coder Social logo

eureka's Introduction

eureka Crate Status CI codecov

eureka is a CLI tool that allows you to quickly write down an idea using your preferred editor, and then have the idea committed and pushed to your idea git repository.

Imagine working on something important and then having an idea. Instead of letting your idea slip by you can just type eureka and you're able to quickly store your idea and then continue working.

demo

Required Setup

eureka requires a git repository with a README.md in the root folder. This is the default structure when you create an empty repository with a readme on GitHub, so it's easy to start using it. And since it's your own repository you can make it private to keep your ideas secret.

eureka looks at your environment variables to decide what program to use.

  • $EDITOR for what to edit your ideas with (falls back to vi)
  • $PAGER for what to view your ideas with (falls back to less)

Installation

Homebrew

$ brew install eureka

Cargo

$ cargo install eureka

Rust stable version will always be supported

Usage

The first time you run eureka it will ask for the path to your ideas repo. This configuration will be stored in your XDG Base Directory if found, otherwise in $HOME/.config/eureka.

After the setup simply run eureka to capture an idea. It will then be committed and pushed to the origin remote and the main branch.

View your stored ideas with the -v or --view flag.

$ eureka --view

Flags

    --clear-config    Clear your stored configuration
-v, --view            View ideas with your $PAGER env variable. If unset use less

Recommended alias

An easy to remember alias for eureka is the word idea. This makes it easy to remember to use eureka to store your ideas.

Zsh

echo 'alias idea="eureka"' >> ~/.zshrc

Bash

echo 'alias idea="eureka"' >> ~/.bashrc

Fish

echo 'alias idea="eureka"' >> ~/.config/fish/config.fish

Improvements

See github issues.

eureka's People

Contributors

simeg avatar chenrui333 avatar heyztb avatar oversoul avatar boxfort avatar manabiseijin avatar xeruf avatar javier-varez avatar k-nasa 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.