📄 Create GitHub Gists from your CLI
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
amelia
.gitignore
LICENSE
README.md
code_of_conduct.md
main.go

README.md

amelia

license amelia on GitHub

Create GitHub Gists from your CLI

Installation

go get github.com/hackebrot/amelia

GitHub API

Connecting to the GitHub API with amelia requires authentication via oauth-tokens.

Please generate tokens (with scope "Create gists") and set the following environment variables:

  • AMELIA_USERNAME - your GitHub user name
  • AMELIA_TOKEN - your personal GitHub API access token

Usage

With auth environment variables in place you can now run amelia.

  -d string
        description of the gist (default "Amelia Gist")
  -description string
        description of the gist (default "Amelia Gist")

  -p	indicates whether the gist is public
  -public
        indicates whether the gist is public

To create a public Gist with description "Hello World" and a file "helloworld.md" run the following:

$ amelia -public -description "Hello World" helloworld.md

To create a secret Gist with the default description and multiple files run the following:

$ amelia file1.txt file2.txt

License

Distributed under the terms of the MIT License, amelia is free and open source software.

Code of Conduct

Please note that this project is released with a Contributor Code of Conduct.

By participating in this project you agree to abide by its terms.

Project name

A Saboscrivner can write about food so accurately that people get the sensation of taste when they read about the food. Amelia Mintz is a Saboscrivner.

Wikipedia: Chew Comic Book Series