All Projects → oz → gist

oz / gist

Licence: BSD-2-Clause license
A simple Github Gist client

Programming Languages

rust
11053 projects

Labels

Projects that are alternatives of or similar to gist

coding-challenge
Algorithms and Data-structures, problems and solutions in Rust language using cargo-workspaces
Stars: ✭ 17 (-37.04%)
Mutual labels:  cargo
cargo-supply-chain
Gather author, contributor and publisher data on crates in your dependency graph.
Stars: ✭ 287 (+962.96%)
Mutual labels:  cargo
onetab-sync
Command line utility for sync and backup OneTab Chrome extension data.
Stars: ✭ 48 (+77.78%)
Mutual labels:  gist
linq-fns
👴 LINQ for Javascript, written by TypeScript
Stars: ✭ 74 (+174.07%)
Mutual labels:  gist
so stupid search
It's my honor to drive you fucking fire faster, to have more time with your Family and Sunshine.This tool is for those who often want to search for a string Deeply into a directory in Recursive mode, but not with the great tools: grep, ack, ripgrep .........every thing should be Small, Thin, Fast, Lazy....without Think and Remember too much ...一…
Stars: ✭ 135 (+400%)
Mutual labels:  cargo
cargo-cook
A rust cargo subcommand which cooks your crate
Stars: ✭ 29 (+7.41%)
Mutual labels:  cargo
cargo-hack
Cargo subcommand to provide various options useful for testing and continuous integration.
Stars: ✭ 295 (+992.59%)
Mutual labels:  cargo
cargo-i18n
A Rust Cargo sub-command and libraries to extract and build localization resources to embed in your application/library
Stars: ✭ 88 (+225.93%)
Mutual labels:  cargo
strava-box
🏃‍♂️🏃‍♀️ Update a gist to contain your YTD exercise metrics from Strava
Stars: ✭ 34 (+25.93%)
Mutual labels:  gist
valist
Web3-native software distribution. Publish and install executables, Docker images, WebAssembly, and more. Powered by Ethereum, IPFS, and Filecoin.
Stars: ✭ 107 (+296.3%)
Mutual labels:  cargo
GitHub-tab-size
📏 Userstyle to set a custom tab-size on GitHub and Gist
Stars: ✭ 17 (-37.04%)
Mutual labels:  gist
autotools-rs
build.rs helper to configure and compile autotools and configure/make projects
Stars: ✭ 21 (-22.22%)
Mutual labels:  cargo
carnet
A Tool for Sandboxing Cargo and Buildscripts
Stars: ✭ 78 (+188.89%)
Mutual labels:  cargo
crane
A Nix library for building cargo projects. Never build twice thanks to incremental artifact caching.
Stars: ✭ 348 (+1188.89%)
Mutual labels:  cargo
nexus-repository-cargo
Nexus Repository Cargo Format
Stars: ✭ 33 (+22.22%)
Mutual labels:  cargo
teamcity-rust-plugin
TeamCity Rust and Cargo plugin
Stars: ✭ 29 (+7.41%)
Mutual labels:  cargo
rsblocks
A fast status-bar for dwm window manager written in Rust 🦀
Stars: ✭ 30 (+11.11%)
Mutual labels:  cargo
crates
crates is an extension aims to help people to manage their dependencies for rust (crates.io & TOML).
Stars: ✭ 156 (+477.78%)
Mutual labels:  cargo
cargo-limit
Cargo with less noise: warnings are skipped until errors are fixed, Neovim integration, etc.
Stars: ✭ 105 (+288.89%)
Mutual labels:  cargo
naersk
Build rust crates in Nix. No configuration, no code generation, no IFD. Sandbox friendly. [maintainer: @Patryk27]
Stars: ✭ 440 (+1529.63%)
Mutual labels:  cargo

Gist

A command-line tool for publishing gists, inspired by icholy/gist.

Usage

Publish a single file, read from stdin:

cat notes.md | gist

Set a file name with -f:

cat error.log | gist -f "weird-bug.log"

Make a public Gist with -p:

cat file.sh | gist -p

Make a single gist with multiple files, preserving their names:

gist src/*.rs

I want the Gist's URL copied to my clipboard, when it's done:

# *nix / X.org
echo stuff | gist | xclip

# mac
echo something | gist | pbcopy

Show me a brief list of public gists:

gist -l

... or for a single user:

gist -l some_login

BTW, did you know that Github gists are also git repositories? You can get a local copy of a gist by passing its URL (this uses git clone behind the scenes):

gist https://gist.github.com/oz/123478097

Installation

Installation currently requires cargo, just cargo install gist.

For authentication, the program requires an environment variable called GITHUB_GIST_TOKEN or GITHUB_TOKEN. It is mandatory as Github killed anonymous Gists in 2018.

You can generate one at: https://github.com/settings/tokens

Then append it to your .profile, or something with:

export GITHUB_TOKEN="blah blah blah"
# or
export GITHUB_GIST_TOKEN="blah blah blah"

Or you can place it in the global configuration file (~/.gist/config.json):

{
  "gist_token": "blah blah blah"
}

Github Enterprise

To use with Github Enterprise, set the env. var GITHUB_GIST_API_ENDPOINT to your private Gist API endpoint.

License

MIT.

Hacking & bug reports

Yes please: file issues, or better send patches and pull-requests.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].