Skip to content

A Twitter bot powered by Github Actions tweeing Wikidata milestones

License

Notifications You must be signed in to change notification settings

dpriskorn/twitter-wikidatameter

 
 

Repository files navigation

Twitter WikidataMeter Bot

I'm the code, and deployment of Twitter bot WikidataMeter. I tweet a few fun things about Wikidata as it grows.

Tweets

Feel free to suggest more tweets by creating an Github issue.

Everytime another 1,000,000 edits happens

Bot checks this data every 30 minutes, the value that is checked is live.

Everytime Item count crosses a 1,000,000 boundary

Bot checks this data every 30 minutes, the value that is checked is calculated once a day.

Screenshot comming soon...

Everytime Property count crosses a 100 boundary

Bot checks this data every 30 minutes, the value that is checked is calculated once a day.

Screenshot comming soon...

Everytime Lexeme count crosses a 10,000 boundary

Bot checks this data every 30 minutes, the value that is checked is calculated once a day.

Screenshot comming soon...

Development

You'll need to install my dependencies using composer.

composer install

And in order to fully integrate with the services you'll need to populate a .env file. Checkout .env.example for what is needed.

Then just run the main script.

php run.php

Deployment

I run on Github Actions on a cron using a docker container.

You can build the docker container using the following.

docker build . -t twitter-wikidatameter

Makes use of

Services:

Libraries:

About

A Twitter bot powered by Github Actions tweeing Wikidata milestones

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 90.4%
  • Dockerfile 4.8%
  • Shell 4.8%