Coder Social home page Coder Social logo

defendpdx-twitterbot's Introduction

-DefendPDX-TwitterBot

This is the open-source bot that runs the Twitter Bot on @DefendPDX

Planned Scope

The idea is to create a new twitter retweeting bot that will Retweet users using the "#DefendPDX" hashtag as a callsign to the bot. With a little bit of added security, we want to make sure the bot has the option to enable/disable a allow-list.

  1. Strict Allow-list: Enabled during an event/action and only trusted/reputable people & organizations can boost through the bot.
  2. Extended Allow-list: A list of accounts that are added by moderators, just a simple manual profile review and they're added in.
  3. Unmoderatred: Anyone/Everyone can use the bot to RT, but not those already blocked/muted.

defendpdx-twitterbot's People

Contributors

defendpdx avatar grinnellian avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

defendpdx-twitterbot's Issues

Deduplicate repeated tweets?

I often see cases where multiple people attempt to RT w/ #defendPDX
(Heck, I've done it myself before I learned to get better at checking other retweets first)
However, slowing down to check for other RTs reduces the utility of the repeater somewhat.

How would you like to handle duplicates and deduplication?
Some ideas/cases to think about:

  • Could a sufficient number of tweets from accts not on the allow-list cause a repeater RT?
  • How far down a chain of RTs should a dupe be considered a dupe?
    e.g. if Alice tweets "King Bun on 3rd and Salmon" and Bernice RTs with "DefendPDX" then some time later (after more retweets) Francie retweets the lot saying "King Bun moved to 5th & Main #DefendPDX" we might want to RT the updated information.

Desired license?

Might be a good idea to pick a license before code gets contributed.
I'd suggest the MIT license for max permissiveness (https://en.wikipedia.org/wiki/MIT_License), but GPL is also a popular choice which forces others using the code to keep it open-source -- a feature known as "copy-left" or "viral license" (https://en.wikipedia.org/wiki/GNU_General_Public_License).

(Apologies in advance if that's already known to whomever is behind the anonymous acct. I hope it's not patronizing)

Further desired specs?

How do you want to interact with the bot to be able to change modes, add users, remove users, etc?

I have a python IRC->Twitter bot that could be fairly easily repurposed for this. A simple web interface could also work if you had a trusted web server to run it from.

Let me know what the further required specs are and Iโ€™d be happy to contribute.

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.