logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

App::Nopaste::Service::Gist - Service provider for GitHub gist - http://gist.github.com/

Author

       Ricardo SIGNES, <rjbs@cpan.org>

Github Authorization

       In order to create gists you have to get an oauth token. That could be easily obtained via curl:

           curl -X POST 'https://USERNAME:PASSWORD@api.github.com/authorizations' \
               -d '{"scopes":["gist"],"note":"App::Nopaste"}'

       or you can use this module to do the same:

           perl -MApp::Nopaste::Service::Gist -e 'App::Nopaste::Service::Gist->create_token'

       You can also generate a token by navigating to <https://github.com/settings/tokens> and generate a new
       token with the 'Create gists' ability.

       Then, export the resulting token as the the "GITHUB_OAUTH_TOKEN" environment variable.  This will grant
       gist rights to App::Nopaste (or anything else that Don't worry, you can revoke access rights anytime from
       the GitHub profile settings.

       Alternatively, you can export the "GITHUB_USER" and "GITHUB_PASSWORD" environment variables, just like
       for the gist <https://github.com/defunkt/gist> utility.

       You can also simply store your credentials in plaintext in ~/.github as in:

           login bob
           password ilikeducks

       That's it!

Name

       App::Nopaste::Service::Gist - Service provider for GitHub gist - http://gist.github.com/

Support

       Bugs may be submitted through the RT bug tracker <https://rt.cpan.org/Public/Dist/Display.html?Name=App-
       Nopaste> (or bug-App-Nopaste@rt.cpan.org <mailto:bug-App-Nopaste@rt.cpan.org>).

Version

       version 1.013

See Also