• Stars
    star
    277
  • Rank 148,875 (Top 3 %)
  • Language
    JavaScript
  • License
    BSD 3-Clause "New...
  • Created over 8 years ago
  • Updated over 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Twitter bot for #100DaysOfCode

100DaysOfCode Twitter Bot

Helping developers who participate in #100DaysOfCode to engage on Twitter.

License (3-Clause BSD) styled with prettier Connect with us on Slack Discord GitHub issues GitHub pull requests

follow on Twitter

Features

Retweets and likes tweets

Screenshot1

Sends a thank-you reply to new followers

Screenshot2

Congratulates users on starting/finishing #100DaysOfCode

Imgur

Tweets back encouragement if a #100DaysOfCode tweet has negative sentiment

Imgur

Tracks user interaction via LevelDB to give users daily encouragement

Uses a cron-like job scheduler to tweet 'Project of the Day'

Blacklist Spammers who abuse [#100DaysOfCode]

freeCodeCamp challenges and Help Channels (such as Slack, Discord, etc.) are merged in an API to constantly tweet links for new joiners/followers


Contributing

This bot manipulates tweets and streams by connecting to the Twitter API via the twit npm package. Please refer to the twit documentation to make substantial changes.

You can help by:

  • Solving existing issues
  • Adding more functionalities to the bot (see issues)
  • Pointing out bugs/errors

For any of the above, please create an issue so that it can be addressed. New to GitHub issues? You can familiarize yourself with them using GitHub's guide.

Setup

  • You will need your own Twitter account for testing, since the bot tweets from this account. Generate your Twitter API keys by creating a new app.
  • Fork this repository.
  • Create an .env file and add in your API keys and Twitter handle, like so:
TWITTER_CONSUMER_KEY=xxxxxxxxxxxxxxxxxxxxdMhxg
TWITTER_CONSUMER_SECRET=xxxxxxxxxxxxxxxxxxxxkFNNj1H107PFv1mvWwEM6CZH0fjymV
TWITTER_ACCESS_TOKEN=xxxxxxxxx-xxxxxxxxxxxxxxxxxxxxecKpi90bFhdsGG2N7iII
TWITTER_ACCESS_TOKEN_SECRET=xxxxxxxxxxxxxxxxxxxxZAU8wNKAPU8Qz2c0PhOo43cGO
QUERY_STRING=#someTestHashtag
TWITTER_USERNAME=YourTestTwitterAccountName

Make the Change

  • Change any hashtags to #someTestHashtag to avoid spamming the community hashtag.
  • Run npm/yarn test to check all keys are available before you start. 👍
  • Make your suggested change.
  • Ensure code style follows existing code (run npm run format to apply preferred formatting).
  • Create a pull request.

License

BSD 3-Clause License

Copyright (c) 2018 - Present, freeCodeCamp. All rights reserved.

More Repositories

1

freeCodeCamp

freeCodeCamp.org's open-source codebase and curriculum. Learn to code for free.
TypeScript
374,440
star
2

devdocs

API Documentation Browser
Ruby
32,300
star
3

how-to-contribute-to-open-source

A guide to contributing to open source
Ruby
8,733
star
4

mail-for-good

An open source email campaign management tool for nonprofits
JavaScript
3,833
star
5

guide

A collection of easy-to-understand guides to programming tools
2,130
star
6

chapter

A self-hosted event management tool for nonprofits
TypeScript
1,921
star
7

awesome-quincy-larson-emails

This repository is an archive of emails that are sent by the awesome Quincy Larson every week.
Python
1,117
star
8

LearnToCodeRPG

A visual novel video game where you learn to code and get a dev job 🎯
Ren'Py
1,048
star
9

boilerplate-npm

A boilerplate for the freeCodeCamp curriculum.
JavaScript
649
star
10

learn

freeCodeCamp's learning platform with 2,000 interactive coding challenges
JavaScript
454
star
11

mobile

freeCodeCamp's open-source mobile app made with Flutter
Dart
424
star
12

pantry-for-good

An open source food bank logistics and inventory management tool
JavaScript
381
star
13

meeting-for-good

A meeting coordination app for your team
JavaScript
338
star
14

boilerplate-infosec

A boilerplate for the freeCodeCamp curriculum.
JavaScript
331
star
15

CurriculumExpansion

JavaScript
294
star
16

wiki

freeCodeCamp's deprecated wiki articles
JavaScript
280
star
17

Developer_Quiz_Site

This is a quiz site filled with over 1500+ questions on programming.
TypeScript
259
star
18

boilerplate-express

A boilerplate for the freeCodeCamp curriculum.
JavaScript
234
star
19

chinese

214
star
20

2016-new-coder-survey

R
196
star
21

boilerplate-mochachai

A boilerplate for the freeCodeCamp curriculum.
JavaScript
189
star
22

testable-projects-fcc

Test suite for freeCodeCamp's legacy Codepen-based Curriculum
JavaScript
170
star
23

league-for-good

An open source sports league management tool
JavaScript
163
star
24

web3-curriculum

Half of the Web3 Curriculum
JavaScript
159
star
25

open-data

HTML
157
star
26

python-coding-challenges

freeCodeCamp's stand-alone Python coding challenges
Python
144
star
27

classroom

JavaScript
143
star
28

demo-projects

Example certification projects for our programming curriculum
JavaScript
142
star
29

coderadio-client

24/7 music designed for coding - https://coderadio.freecodecamp.org
JavaScript
136
star
30

solana-curriculum

freeCodeCamp Solana Curriculum
TypeScript
126
star
31

conference-for-good

An open source conference management tool
TypeScript
118
star
32

boilerplate-project-timestamp

A boilerplate for a freeCodeCamp project.
HTML
113
star
33

assets

A collection of https://www.freeCodeCamp.org logos and other assets
100
star
34

camper-gitter-bot

Finally, robotic beings rule the world.
JavaScript
96
star
35

open-api

freeCodeCamp's open-api Intiative
JavaScript
88
star
36

curriculum

The freeCodeCamp curriculum and lesson editor
JavaScript
81
star
37

boilerplate-mongomongoose

A boilerplate for the freeCodeCamp curriculum.
JavaScript
80
star
38

cdn

static assets for use with projects, curriculum and other places on internet
Python
76
star
39

Rust-In-Replit

The freeCodeCamp Rust In Replit course
JavaScript
71
star
40

100DaysOfCode-discord-bot

A Discord bot created for the 100 Days of Code challenge.
TypeScript
68
star
41

open-source-for-good-directory

A directory for freeCodeCamp's Open Source for Good apps - solutions for nonprofits
JavaScript
65
star
42

euler-rust

Local config for running the freeCodeCamp Project Euler lessons in Rust
JavaScript
62
star
43

boilerplate-project-urlshortener

A boilerplate for a freeCodeCamp project.
HTML
61
star
44

freeCodeCampOS

Test repo for external freeCodeCamp courses
JavaScript
59
star
45

news

freeCodeCamp's JAMstack Developer News publication. Built with 11ty, Ghost, and help from kind contributors like you.
TypeScript
57
star
46

infra

> freeCodeCamp.org's infrastructure-as-code
HCL
56
star
47

2017-new-coder-survey

Open Dataset from freeCodeCamp's 2017 survey of more than 20,000 developers
R
55
star
48

boilerplate-project-exercisetracker

A boilerplate for a freeCodeCamp project.
HTML
50
star
49

courses-vscode-extension

freeCodeCamp VSCode extension to help run and develop courses
TypeScript
46
star
50

study-group-directory

CSS
45
star
51

learn-bash-by-building-a-boilerplate

Shell
42
star
52

massification

An emailing service built on Amazon SES and Node
JavaScript
42
star
53

rdb-alpha

Dockerfile
42
star
54

contribute

> docs site for all things contributions. begin your contribution journey here.
MDX
42
star
55

boilerplate-project-headerparser

A boilerplate for a freeCodeCamp project.
HTML
41
star
56

learn-relational-databases-by-building-a-mario-database

Shell
39
star
57

boilerplate-advancednode

A boilerplate for the freeCodeCamp curriculum referenced in 'Advanced Node/Express Introduction'.
JavaScript
39
star
58

videos-translation

38
star
59

boilerplate-medical-data-visualizer

Python
37
star
60

scrapepark.org

Source for scrapepark.org
HTML
36
star
61

design-style-guide

Design Style Guide
HTML
35
star
62

FreeCodeCampTriviaQuiz

Take developer quizzes using your Amazon Echo with this freeCodeCamp.org Alexa skill
JavaScript
34
star
63

boilerplate-project-stockchecker

A boilerplate for a freeCodeCamp project.
JavaScript
34
star
64

news-theme

The Ghost theme for Developer News.
Handlebars
33
star
65

math-for-programmers-prototype

An interactive browser-based curriculum where you learn math through LaTeX
JavaScript
32
star
66

learn-bash-scripting-by-building-five-programs

Shell
31
star
67

classroom-mode-archived

JavaScript
31
star
68

news-translation-tasks

JavaScript
31
star
69

boilerplate-project-filemetadata

A boilerplate for a freeCodeCamp project.
HTML
31
star
70

camperchan

Discord bot running in our freeCodeCamp Discord server
TypeScript
29
star
71

2018-new-coder-survey

The results of the 2018 New Coder Survey
R
28
star
72

2018-jamstack-hackathon

IN PERSON freeCodeCamp JAMstack Hackathon on November 3 - 4 at GitHub
28
star
73

near-curriculum

JavaScript
26
star
74

rocketchat-bot

TypeScript
26
star
75

learn-sql-by-building-a-student-database-part-1

Shell
26
star
76

PhoneIDE

PhoneIDE freeCodeCamps Mobile Editor Made with Flutter
Dart
26
star
77

multiple-choice-questions

Multiple choice questions for our interview preparation section
JavaScript
26
star
78

arcade-mode

A repo for algorithm and data structures interview practice app
JavaScript
24
star
79

boilerplate-arithmetic-formatter

Python
24
star
80

2018-online-jamstack-hackathon

freeCodeCamp JAMstack Online Hackathon November 3 - 4
23
star
81

boilerplate-budget-app

Python
23
star
82

boilerplate-project-messageboard

A boilerplate for a freeCodeCamp project.
HTML
21
star
83

boilerplate-project-issuetracker

A boilerplate for a freeCodeCamp project.
JavaScript
20
star
84

.github

> Our default community health files for all our repositories on GitHub.
20
star
85

sendgrid-email-blast

A CLI tool for sending emails via the SendGrid API.
TypeScript
20
star
86

learn-git-by-building-an-sql-reference-object

Shell
20
star
87

freecodecamp-dark-vscode-theme

19
star
88

boilerplate-project-metricimpconverter

A boilerplate for a freeCodeCamp project.
JavaScript
19
star
89

COM1000

freeCodeCamp's deprecated challenge editor
JavaScript
19
star
90

boilerplate-bcrypt

A boilerplate for the freeCodeCamp curriculum referenced in 'Data Protection with BCrypt'.
JavaScript
19
star
91

nginx-config

> Config for our NGINX instances that serve our platforms.
19
star
92

curriculum-helpers

An internal package that allows thorough testing of challenges between multiple freeCodeCamp platforms.
Python
19
star
93

JulyGameDev

Read more about this here: http://blog.freecodecamp.com/2015/07/watch-us-code-games-live-all-weekend.html
JavaScript
19
star
94

2021-new-coder-survey

The results of freeCodeCamp's 2021 New Coder Survey
18
star
95

boilerplate-demographic-data-analyzer

Python
17
star
96

boilerplate-rock-paper-scissors

Python
17
star
97

learn-bash-and-sql-by-building-a-bike-rental-shop

Shell
16
star
98

chat

freeCodeCamp.org's official community chat rooms
HTML
16
star
99

boilerplate-project-sudoku-solver

A boilerplate for a freeCodeCamp project.
JavaScript
16
star
100

search

A search engine for all things freeCodeCamp
JavaScript
15
star