An open API service indexing awesome lists of open source software.

https://github.com/fyxme/reddit-makegist-bot

Reddit Bot which allows users to create Github gists from a Reddit Comment
https://github.com/fyxme/reddit-makegist-bot

bot gist github praw reddit

Last synced: about 2 months ago
JSON representation

Reddit Bot which allows users to create Github gists from a Reddit Comment

Awesome Lists containing this project

README

          

# Makegist Reddit Bot

Makegist Reddit Bot [/u/makegist](https://www.reddit.com/user/makegist) is a Reddit Bot which allows users to create Github gists from a Reddit Comment. This allows anyone to easily download the code as a gist file directly from your terminal.

This is especially useful in subreddits such as [/r/dailyprogrammer](https://www.reddit.com/r/dailyprogrammer/) which have a lot of code samples which you might want to test.

To summon the bot, add a line to your own comment or reply to a comment which has code in it :

`_**+/u/makegist [filename.ext]**_` where _filename_ is the name you want to give to the gist file and _ext_ the extension.

Todo
----
* Add update and delete/remove actions
* Add multi file support

## The bot in action

To view examples of the bot, simply checkout his user profile. ([/u/makegist](https://www.reddit.com/user/makegist))

## Built With

* [PRAW](https://praw.readthedocs.io/en/latest/) - The Python Reddit API Wrapper

## License

This project is licensed under the MIT License - see the [LICENSE.md](LICENSE.md) file for details