Skip to main content
# git-tidbit

Git a tidbit everytime you successfully commit to a repo.

![Showcase](https://github.com/savala/git-tidbit/blob/master/screenshots/screenshot.png)

#Install
```
pip install git-tidbit
```

*If you have trouble on OS X due to permissions, try out `pip install --user git-tidbit`

Once installed, you'll need to run `git init` in your existing repositories to pull in our
post-commit hook. If you'd like to do this for all of your existing repos, use the following:

`find /my/dev/folders -name .git -type d -prune -execdir git init \;`

#Uninstall

Once uninstalled, git-tidbit will clean up after itself. You can double check it's cleanliness by looking at your git config for the `init.templatedir` entry.

#Develop

1. Clone the repo

2.
```sh
git clone https://github.com/savala/git-tidbit.git
```

3.
```sh
sudo pip install -e ./git-tidbit
```


# Usage

Use your normal git workflow. Whenever you commit, you'll learn something new!

```sh
git commit -m "I'm really just doing this to get a snapple fact"
```

# Tidbit Sources

All tidbit modules **must** implement a `get_tidbit` function
that returns a string. They are free to implement that functionality however they please~

## Reddit
Reddit service fetches a random TIL (Today I learned)

## Snapple
Random snapple cap fact

## Fortune

You'll need `fortune` installed. You can get it with your favorite package manager:

```
brew install fortune
yum install fortune
apt-get install fortune fortune-mod
pacman -S fortune-mod
```

####### *Try out cowsay!*

Metadata

Release files for git-tidbit 0.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for git-tidbit 0.4
File Size Uploaded Provenance Actions
git-tidbit-0.4.tar.gz 42.6 kB Without provenance Details for git-tidbit-0.4.tar.gz

Release files / git-tidbit-0.4.tar.gz

Download URL git-tidbit-0.4.tar.gz
Size 42.6 kB
Tags Source
SHA-256 checksum
How to use checksums
5b49705e367eddf8eaef6b446fc67f5ea02d7c31e2c3b87fcdfa2936a905c487
BLAKE2b-256 checksum
How to use checksums
90088f7c828897f20b07a964195e5cb095d63c71d93ec6362eaaeaa4eda6f3b8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for git-tidbit 0.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.4 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page