Page MenuHomePhabricator

Add some images to the Commons Twitter Bot
Open, Needs TriagePublic

Description

The Commons-twitter-bot project is a bot software which controls a Twitter account via the Twitter API.
If a user tweets an emoji to the bot, the bot should reply to the tweet with an image from Wikimedia Commons that represents the same emotion as the emoji.

The Git source code repository is under labs/tools/Commons-twitter-bot.

The Commons-twitter-bot project has a file called images.json. In this file, all the images used by the bot are mapped to emoji. Some emojis have no images mapped to them yet and some have wrong images mapped to them. Mapping images from Wikimedia Commons that represent the emoji emotion will improve the bot's responses upon tweets to the bot.

Note to GCI participants:

  • The selected image must have author and license information available on Wikimedia Commons.
  • To be considered a completed task you must make a patch that maps at least 5 images to an emoji.

Event Timeline

rosalieper renamed this task from Add some images to the WMEmogi Bot to Add some images to the Commons Twitter Bot.Oct 11 2018, 5:30 AM

Thanks for this task! Where could I find the code base that a student would have to provide a patch for? https://phabricator.wikimedia.org/source/tool-wm-commons-emoji-bot/ seems to be empty...

Thanks for this task! Where could I find the code base that a student would have to provide a patch for? https://phabricator.wikimedia.org/source/tool-wm-commons-emoji-bot/ seems to be empty...

I guess labs/tools/Commons-twitter-bot in Gerrit, it seems to contain some code (this is the same like LTCT here)

@rosalieper, are you going to mentor this for Google-Code-in-2018?

Okay, please explicitly say so on the task and then create a task on GCI website. Thank you :)

Alright, I will mentor this task for GCI.

Change 476862 had a related patch set uploaded (by Sunyiming; owner: Sunyiming):
[labs/tools/Commons-twitter-bot@master] Updated emoji images

https://gerrit.wikimedia.org/r/476862

Change 476862 merged by Rosalieper:
[labs/tools/Commons-twitter-bot@master] Added emoji images

https://gerrit.wikimedia.org/r/476862

Can I contribute to this task?
I am new to open source but I'm willing to contribute to this project . Please help me out throughout this journey

Of course you can. If you want some general guidance, I recommend you joining #wikimedia-dev at Freenode and asking your questions there. Discussions in tasks should be strictly on-topic.