Giter Site home page Giter Site logo

vinitshahdeo / quotter Goto Github PK

View Code? Open in Web Editor NEW
37.0 3.0 36.0 2.47 MB

:robot: A Twitter bot which tweets random quotes with image and #hashtags :bird: :bell:

Home Page: https://vinitshahdeo.github.io/Quotter/

License: MIT License

HTML 56.21% JavaScript 16.77% CSS 26.11% SCSS 0.91%
twitter-bot twitter-api motivational-quotes hashtags tweets twitter quotter hacktoberfest

quotter's Introduction

Quotter on Twitter By Vinit Shahdeo

Quotter - #DailyMotivation Twitter Bot

GitHub commit activity GitHub code size in bytes GitHub last commit

A Twitter Bot which tweets random inspirational quotes with a picture.

Follow Quotter(@SayHiToQuotter) on Twitter and Stay Motivated Always!

Twitter Bot Inspirational Quotes Daily Motivation

Check documentation for the source code here!

A Big shout out to Canva! I've created the Quotter logo and Twitter header using this.

Special Mention

A heartfelt thanks to Ananya for suggesting the name Quotter.

Getting Started

  • First clone this repository: git clone https://github.com/vinitshahdeo/Quotter.git

  • Replace 'XXXXXXXXX' in src/config.js with your Twitter API keys.

module.exports = {
  consumer_key: 'XXXXXXXXXXXXXXXX',  
  consumer_secret: 'XXXXXXXXXXXXXXXX',
  access_token_key: 'XXXXXXXXXXXXXXXX',  
  access_token_secret: 'XXXXXXXXXXXXXXXX'
}
  • To run this Twitter bot, first install dependencies : npm install

  • Then run the below command : npm run build or npm run start

Note - Tests are written using Mocha and can be run using npm test

APIs Used

Dependencies Used

Getting Twitter API keys

Click here to get Twitter API key.

Step by Step Instructions

  • Go to this and log in, if necessary.

  • Enter your Application Name, Description and your website address. You can leave the callback URL empty.

  • Accept the TOS, and solve the CAPTCHA.

  • Submit the form by clicking the Create your Twitter Application.

  • Copy the consumer key (API key) and consumer secret from the screen and replace in src/config.js

  • Generate acess token and access secret token and replace in src/config.js

Thanks! Glad to see you here! Don't forget to follow Quotter(@SayHiToQuotter) on Twitter.

Twitter Follow GitHub

Vinit Shahdeo

Facebook Instagram LinkedIn

Built with love Quotter makes people smile


Vinit Shahdeo Open Source Love Twitter Bot Inspirational Quotes

quotter's People

Contributors

vinitshahdeo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

quotter's Issues

.gitignore is missing

.gitignore file helps us to ignore files like node_modules/, .env etc before we commit.

Essentially it should include the following:

.env
.idea
.vscode/
.DS_Store
node_modules/
dist/
out/
build/

Learn more here.

Twitter API not working

Hello Vinit,
I just tried using Quotter but my connection was reset when i tried to get Twitter API keys.
Neither I am able to use login link.

Add ESLint

Linting is the process of checking the source code for Programmatic as well as Stylistic errors.

Adding ESLint will be helpful in identifying some common and uncommon mistakes that are made during coding.

ESLint covers both code quality and coding style issues.

  • Add ESLint to this project.
  • Add scripts in package.json i.e. npm run test-lint should run lint tests.
  • Do not make any changes to other files.

Please refer this.

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.