Giter Club home page Giter Club logo

cheapbotsdonequick's Introduction

Making twitter bots using Cheap Bots, Done Quick!

What is it?

Cheap Bots, Done Quick! is a platform for generative Twitter bots.

It uses Tracery to generate content from JSON source.

At it's simplest, it turns this:

{
  "origin" : "Hello World"
}

into this:

Hello World

Tokens (wrapped with a hash like #this#) are expanded from this:

{
  "origin" : "Hello #planets#",
  "planets" : ["Mercury", "Venus", "Mars", "Earth"]
}

into any of these (it picks a value randomly each time it runs):

Hello Mercury
Hello Venus
Hello Mars
Hello Earth

SVG and dynamic content

Now plain text tweets are great, but the reason that I love Cheap Bots Done Quick is that you can create and tweet images using SVG. Also, you can create dynamic content using Javascript in SVG - for example, writing the date, or loading external content.

Here are a few bots that use SVG to create random images

@sadkeanubot @badphotoquality @time4gametheory @shakyinsultbot
places a pic of Sad Keanu on a random photo of a chair applies blur or posterise filter to worsen a photo and overlays the date overlays the "Guys, it's time..." text on a random New Yorker cartoon generates Shakespeare insults
view the source view the source view the source view the source

Image twitter bot tutorials

Other Cheap Bots Done Quick tutorials

cheapbotsdonequick's People

Contributors

derekahmedzai avatar v21 avatar

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.