• Stars
    star
    2,877
  • Rank 15,767 (Top 0.4 %)
  • Language
    Go
  • License
    MIT License
  • Created almost 10 years ago
  • Updated 6 months ago

Reviews

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

Repository Details

🏃 A .gitignore magician in your command line

joe

A .gitignore magician in your command line. Joe generates .gitignore files from the command line for you.

Features

  • Written in uncomplicated Go (Golang)
  • No installation necessary - just use the binary.
  • Stupidly easy to use
  • Supports all Github-supported .gitignore files
  • Works on Mac, Linux and (maybe) Windows
  • Supports other version control systems (.hgignore)

Installation

After install, make sure to run joe u. This will download all .gitignore files in ~/joe-data/ folder.

Option 1: Binary

joe is available for OSX (macOS), Linux and Windows.

Download the latest binary from the Releases page. It's the easiest way to get started with joe.

Make sure to add the location of the binary to your $PATH.

Option 2: From source

$ git clone [email protected]:karan/joe.git
$ cd joe/
$ chmod +x tool.sh
$ ./tool.sh build

Usage

Commands:

ls | list       list all available files
u | update      update all available gitignore files
g | generate    generate gitignore files

Basic usage

$ joe g java    # outputs .gitignore file for java to stdout

To update your .gitignore files at any time, simply run:

$ joe u

Overwrite existing .gitignore file

$ joe g java > .gitignore    # saves a new .gitignore file for java

Append to existing .gitignore file

$ joe g java >> .gitignore    # appends to an existing .gitignore file

Multiple languages

$ joe g java,node,osx > .gitignore    # saves a new .gitignore file for multiple languages

Create and append to a global .gitignore file

You can also use joe to append to a global .gitignore. These can be helpful when you want to ignore files generated by an IDE, OS, or otherwise.

$ git config --global core.excludesfile ~/.gitignore # Optional if you have not yet created a global .gitignore
$ joe g OSX,SublimeText >> ~/.gitignore

List all available files

$ joe ls    # OR `joe list`

Output:

actionscript, ada, agda, android, anjuta, appceleratortitanium, archives, archlinuxpackages, autotools, bricxcc, c, c++, cakephp, cfwheels, chefcookbook, clojure, cloud9, cmake, codeigniter, codekit, commonlisp, composer, concrete5, coq, craftcms, cvs, dart, darteditor, delphi, dm, dreamweaver, drupal, eagle, eclipse, eiffelstudio, elisp, elixir, emacs, ensime, episerver, erlang, espresso, expressionengine, extjs, fancy, finale, flexbuilder, forcedotcom, fortran, fuelphp, gcov, gitbook, go, gradle, grails, gwt, haskell, idris, igorpro, ipythonnotebook, java, jboss, jdeveloper, jekyll, jetbrains, joomla, jython, kate, kdevelop4, kohana, labview, laravel, lazarus, leiningen, lemonstand, libreoffice, lilypond, linux, lithium, lua, lyx, magento, matlab, maven, mercurial, mercury, metaprogrammingsystem, meteor, microsoftoffice, modelsim, momentics, monodevelop, nanoc, netbeans, nim, ninja, node, notepadpp, objective-c, ocaml, opa, opencart, oracleforms, osx, packer, perl, phalcon, playframework, plone, prestashop, processing, python, qooxdoo, qt, r, rails, redcar, redis, rhodesrhomobile, ros, ruby, rust, sass, sbt, scala, scons, scrivener, sdcc, seamgen, sketchup, slickedit, stella, sublimetext, sugarcrm, svn, swift, symfony, symphonycms, tags, tex, textmate, textpattern, tortoisegit, turbogears2, typo3, umbraco, unity, vagrant, vim, virtualenv, visualstudio, vvvv, waf, webmethods, windows, wordpress, xcode, xilinxise, xojo, yeoman, yii, zendframework, zephir

BONUS ROUND: Alternate version control software

Joe isn't just a generator for .gitignore files. You can use it and its output wherever a SCM is used.

$ joe g java > .hgignore

Contributing

Bug Reports & Feature Requests

Please use the issue tracker to report any bugs or file feature requests.

Developing

PRs are welcome. To begin developing, do this:

$ git clone [email protected]:karan/joe.git
$ cd joe/
$ go run *.go

tool.sh

This is a handy script that automates a lot of developing steps.

USAGE:
    $ $tool [-h|--help] COMMAND

  EXAMPLES:
    $ $tool deps      Install dependencies for joe
    $ $tool build     Build a binary
    $ $tool run       Build and run the binary

More Repositories

1

Projects

📃 A list of practical projects that anyone can solve in any programming language.
44,914
star
2

Projects-Solutions

📟 Links to others' solutions to Projects (https://github.com/karan/Projects/)
4,117
star
3

slack-overflow

A programmer's best friend, now in Slack.
Python
813
star
4

HackerNewsAPI

📰 Unofficial Python API for Hacker News. RESTful API at https://github.com/karan/HNify
Python
390
star
5

TPB

☁️ Python API for ThePirateBay.
HTML
331
star
6

slack-news

Read news from multiple sources within Slack by just typing /news.
JavaScript
123
star
7

chrome-url-alias

Chrome extension to set URL aliases ("m/" goes to "mail.google.com" etc)
JavaScript
112
star
8

Swift-Algorithms

Implementation of various algorithms and data structures in Swift.
Swift
110
star
9

Hook

ProductHunt REST API (Unofficial) - DISCONTINUED
JavaScript
91
star
10

HNify

Hacker News REST API using Flask on Heroku using memcached.
Python
91
star
11

fleets

Automatically delete tweets, retweets, and favorites.
Go
89
star
12

SoundWall

A faster, more pleasant way to discover new music.
JavaScript
77
star
13

atom-terminal

Atom package to open terminal on current file's directory with "ctrl-shift-t"
CoffeeScript
70
star
14

validator.dart

🐢 String validation and sanitization for Dart.
Dart
64
star
15

vocabulary

Golang package to get meanings, synonyms, antonyms and more for a word
Go
60
star
16

slashgif

Post GIFs to Twitter by doing "@slashgif coffee break"
Python
55
star
17

Spear

Product Hunt for Hackers - a CLI to Product Hunt.
Python
53
star
18

scInstant

SoundCloud Instant Search
JavaScript
51
star
19

x-meme

The meme element for modern web
48
star
20

RedditAgain

Migrate an old Reddit account to a new one.
Python
45
star
21

slackzon

Simple Amazon Product Search in Slack
Python
39
star
22

Qnowledge

Knowledge API for Quora. (Code removed)
Python
39
star
23

dotfiles

~/* - all my dotfiles with bootstrapping script. 10X productivity gains. ❤️
Shell
39
star
24

slack-hn

SEE https://github.com/karan/slack-news INSTEAD
JavaScript
36
star
25

nojs.club

You don't need Javascript to make a beautiful, usable web. How it works: https://goel.io/nojs-club
SCSS
34
star
26

libfib

An experiment to run Go code directly from Python.
Python
29
star
27

brain2music

🎵 EEG brainwave data to music (more like noise) in realtime.
JavaScript
29
star
28

todo-swift

Very simple iOS todo list app built with Swift
Swift
26
star
29

s

🌵 A high-performance, anonymous URL shortener built using Redis + Node.js with a API-backed design.
JavaScript
23
star
30

NobodyDoesThis

Reddit bot that scans 3 day-old /r/DoesAnybodyElse posts with 0 score and then comments "Nope, it's just you."
Python
22
star
31

PebBus

⏰ Pebble app for OneBusAway.
JavaScript
21
star
32

language.dart

🌺 Natural language processing utilities for Dart
Dart
20
star
33

Storming

☔ Hacking The Tweetstorm... With Pictures of Text
CSS
16
star
34

What-Would-I-Tweet

Automatically generates tweets for you! It trains a Markov bot based on bigram probabilities derived from your tweet history.
CSS
14
star
35

slashRemindMe

A Twitter bot to remember things or threads. [INACTIVE]
Python
14
star
36

Projects-my

My solutions to Projects
Python
13
star
37

griddit

orgasmic reddit interface for image-based subreddits
JavaScript
11
star
38

grpc-practical-tutorial

A practical gRPC tutorial
Ruby
10
star
39

Data-Structures-and-Algorithms

Data Structures and Algorithms with Object-Oriented Design Patterns in Python
Python
10
star
40

x-math

Polymer element to embed beautiful math using just HTML.
JavaScript
10
star
41

gphotos-takeout

[WIP] Parse Google Takeout archive for Google Photos
Go
9
star
42

ZipUp

Helping your business go down.. (24-hour hackathon project. Do not try to make sense of code.)
JavaScript
8
star
43

slashStock

Get stock quotes in Twitter. (@slashStock GOOG)
Python
8
star
44

Speekr

Simple app to help learn spoken languages using experimental Chrome APIs
JavaScript
8
star
45

Singular

Mapping the world’s sounds.
JavaScript
8
star
46

statistics.dart

🐎 Functions for calculating mathematical statistics of numeric data.
Dart
7
star
47

Pillar

Suicide prevention app built at a hackathon. See pillar.pdf for pitch slides.
Java
6
star
48

navi

Learn to code together. AngelHack Silicon Valley 2014 Hack.
JavaScript
6
star
49

sopins

Social badges on the fly. (Twitter, Facebook / png, svg)
Python
5
star
50

UW-OpenData

An unofficial data API for UW course catalog.
Python
5
star
51

PHDroid

Product Hunt Android App
Java
5
star
52

PlaySink

A new way to discover music you like.. (One of those things that never really happened)
JavaScript
5
star
53

Flask-Tutorial

Following "The Flask Mega-Tutorial"
Python
5
star
54

AfterLands

Crowdsourced hyperlocal music playlists, Outside Hacks 2014 Project.
JavaScript
4
star
55

unit

A highly modular, fast API framework in Golang, perfectly fitted for Docker
Go
4
star
56

blog-dart

A blog written in Dart
Dart
4
star
57

oss.wtf

Get free subdomains for your OSS projects.
HCL
4
star
58

Gmail-Subject-Lines

Grab subject lines of gmail emails
Python
4
star
59

Zillow

Coding questions for internship @ Zillow
Java
4
star
60

Pixels

Know the pixels you see. A lazy Sunday afternoon hack.
Python
4
star
61

learneveryword

Learn every word in the English language. Task will complete in 2022.
Python
4
star
62

DataStructures

Data structures and algorithms in Java
Java
4
star
63

TakeoverBot

Twitter bot to monitor and respond to tweets promoting state-backed information operations
Go
4
star
64

generator-customelement

A Yeoman generator for scaffolding a Polymer custom element the right way
JavaScript
4
star
65

entroPHy

Product Hunt roulette
CSS
4
star
66

sc-embed

Web component wrapper for embedding SoundCloud tracks
4
star
67

SpamHarvestUW

All my code for analysis done in Spam Harvesting study: https://www.microryza.com/projects/how-do-spammers-harvest-your-e-mail-address
Python
4
star
68

dockerfiles

These are dockerfiles for images I use.
Dockerfile
3
star
69

Python-vs-Java-forks

Visualising usage of Python and Java throughout the world using WebGL Globe
JavaScript
3
star
70

dart-hn

A very basic HN client in Dart.
Dart
3
star
71

MoodicPlayer

Build your last.fm playlist based on your mood.
Java
3
star
72

summarize

A very basic script to summarize any piece of content (text). Still in progress.
Python
3
star
73

Pillar-API

API for backend of Suicide Prevention App
JavaScript
3
star
74

Tech_Poster

A script that posts tech news to /r/technology
Python
2
star
75

oldblog

My old blog
CSS
2
star
76

Euler

My solutions to Project Euler using Python
Python
2
star
77

typeof.dart

typeOf in Dart.
Dart
2
star
78

LastFMSessionKeyFinder

Easily generate Last.FM session key for your developments
Java
2
star
79

ms.dart

Tiny milisecond conversion utility for Dart.
Dart
2
star
80

PyFibonacci

Simple python script that prints fibonacci series
Python
2
star
81

TOPS-GiveCamp

Email marketing system made for Timebanks at GiveCamp Seattle 2013.
JavaScript
2
star
82

baby-tracker-api

Backend to get Jawbone UP data, crunch it and send to the client. PennApps Fall 2014.
JavaScript
2
star
83

Awear

Context aware wearables
JavaScript
2
star
84

Interviews

interview problems and solutions
Python
2
star
85

ThisForThat

A pure Python implementation of itsthisforthat.com
Python
2
star
86

SmartCradle

Saving infant lives by alarming when they sleep with chest down. PennApps Fall 2014.
Arduino
2
star
87

node-slides

JavaScript
1
star
88

inside-api

😆 See last commit in this repo.
JavaScript
1
star
89

SWSEAedu

All my stuff for Startup Weekend SEA Edu
Python
1
star
90

x-sarcasm

<sarcasm></sarcasm>
HTML
1
star
91

YALT

Yet Another Learning Tool (YALT) is a lightweight and minimal utility to make it easier for you to remember things.
Java
1
star
92

slashZoomEnhance

Zoom, Enhance... on Twitter [doesn't work quite well]
Python
1
star
93

Valyoo

Dumping all my code files for Valyoo Technologies. They will not make any practical sense without the data.
Python
1
star
94

read-wsj

We Know You're Just Going To Google This Headline Anyway, So Here Is A Link To The Free Article, You Cheap Bastard
JavaScript
1
star
95

ARCH-251

My lecture notes for ARCH 251 at UW
1
star
96

have.tips

have.tips homepage
CSS
1
star
97

weebly

A mini-weebly.
JavaScript
1
star
98

ZipUp-private

A public fork of ZipUp that *was* being deployed and actively developed.
Java
1
star
99

pyFizzBuzz

FizzBuzz in Python
Python
1
star
100

Rails-toys

Rails playground
Ruby
1
star