Giter Site home page Giter Site logo

ama-image's Introduction

ama-image

Reddit bot

Uploads an image to /r/books to be displayed in the AMA slot (left most image) in the banner.

  1. Read the AMA schedule at wiki/ama-schedule and if an AMA is occuring today or tomorrow, upload the book image for that AMA.

  2. If no AMA is scheduled, read the data on wiki/ama-other and upload the next image in the list. The index counter for the image is stored on wiki/bot-config.

  3. Future - Read the data on wiki/author-birthdays and upload an image if there's an author birthday today.

This bot uses the external tool IMAGEMAGICK - http://www.imagemagick.org/

The bot is scheduled to run at 12:15am ET to ensure no conflicts with the CycleModRecs bot which runs at 12am.

Due to space constraints, /r/books uses url shorteners and this code requires a google api key to create the short urls using goo.gl

ama-image's People

Contributors

boibboib avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.