• Stars
    star
    766
  • Rank 59,308 (Top 2 %)
  • Language
    Rust
  • License
    MIT License
  • Created about 7 years ago
  • Updated about 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

💡 CLI tool to input and store your ideas without leaving the terminal

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.

More Repositories

1

functional-shell

map and filter in your shell
Shell
17
star
2

ngjs-color-picker

🌈 A color picker with a few extra functions - for AngularJS
JavaScript
17
star
3

urlsup

✅ CLI to find broken URLs in files (awesome_bot alternative)
Rust
15
star
4

gulpfile-generator

🚀 An interactive generator tool for your custom Gulp configuration
JavaScript
11
star
5

dotfiles

⭐ My collection of dotfiles [macOS]
Shell
10
star
6

commentective

🔮 CLI tool to locate comments and commented out code in your source code ("comment detective")
Rust
9
star
7

stava

✏️ CLI spell checker ("stava" means "to spell" in Swedish)
Rust
8
star
8

impossible-tic-tac-toe

𝗫𝗢 Tic Tac Toe game that you cannot beat
Rust
3
star
9

is-everything-pushed

A script to make sure everything in your Git repository folder is pushed
Shell
3
star
10

musicify

🎶 Generate Spotify tracks based on your facial expression [UNDER DEVELOPMENT]
Python
3
star
11

alfred-workflow-ultimate-guitar

🎸 An Alfred workflow used for searching Ultimate Guitar
2
star
12

alfred-workflow-tyda.se

🔍 An Alfred workflow used for searching Tyda.se
2
star
13

alfred-workflow-github.com

🔍 An Alfred workflow used for searching for code on GitHub.com
1
star
14

mac-balls-app

This menu bar app replaces every key stroke you make with the word "balls"
Swift
1
star
15

midi-helper

Node.js server to handle MIDI communication between Arturia Beatstep <-> Computer
JavaScript
1
star
16

urlsup-action

Github Action to verify that links in your repo are up and available
Shell
1
star
17

prpl

A minimal programming language
Python
1
star
18

sudoku-js

✏️ Sudoku in JS
HTML
1
star
19

learning-rust

A repo to put all Rust related code written for learning
Rust
1
star
20

mmini

CLI tool and server to minify your URLs
Ruby
1
star