Git Product home page Git Product logo

iquote_xd's Introduction

iquote_XD

Code for the instagram bot @xd_quote

Features :] :

  • Generate HD images in instant
  • Random quotes on every run
  • 1 post every 5hrs
  • Uses gquote library made by ME!
  • Very low hardware usage you can run it in the background
  • Error reporting to telegram

enjoy :)

Setup

Deploy on Railway Deploy on Heroku

Requirements

  • Redis db
    needed for storing last time posted, to keep the post every 5hrs cycle
  • Business Instgram Account
    from graph api requirments, you can switch any account you have
  • Last longing access_token
    Normal tokens expire in 30mins, follow graph api docs to get one
    find your app-id & app-secret Go to developers.facebook.com/apps Select your app settings/basic => app_id/app_secret
  • Valid token permissions
    Not using the right permissions will fail the bot, follow
    graph API docs to get the right permissions
  • Telegram bot token
    Optional, used for logging errors/status

Railway

it's easier to deploy on railway, it has a deploy template everything is set up for you.

  • Click railway button
  • put your token/env in variables
  • enjoy!

Heroku

  • click the heroku deploy button
  • make a new bot with bot father on telegram copy token
  • paste your token and other env, then deploy
  • enjoy!

Local deploy

  • clone this repo git clone https://github.com/Justxd22/iquote_xd && cd iquote_xd/
  • install requirements with pip pip install ./requirements.txt
  • make and fill .env with your env (use .env.example)
  • run bot.py python3 iquote.py
  • enjoy!! :]

Docker

i've setup up Dockerfile for you build the container and set your env

Credits

justxd22/gquote - gen quote images from api

Big thanks to zenquotes.io for their amazing freeware api

pm on telegram for any queries @Pine_Orange or @xd2222

instgram @_.xd22

find me xd22.me

Donation

You can support my work by donating to the following address,

  • XMR - 433CbZXrdTBQzESkZReqQp1TKmj7MfUBXbc8FkG1jpVTBFxY9MCk1RXPWSG6CnCbqW7eiMTEGFgbHXj3rx3PxZadPgFD3DX THANKS KIND SOUL!

iquote_xd's People

Contributors

justxd22 avatar

Watchers

 avatar

Forkers

qweewqi

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.