sbenthall / chantbot Goto Github PK
View Code? Open in Web Editor NEWA bot for tweeting from a text at regular intervals
License: MIT License
A bot for tweeting from a text at regular intervals
License: MIT License
By stemming words in the keywords list and also the words in the requested line, we can get better granularity on which words get turned into hashtags
Implement logging so that it's possible to see what happened if things went wrong
Publish one chant a day.
Begin with the title at 9am, then the first burst. Publish bursts at 1:30 intervals until 9pm.
Divide the number of lines in a chant up into 9, and "burst" at each time by posting a tweet at every minute.
These should all be configurable intervals.
In line with Unix timing, issue #7 , the main script should take an argument which identifies which section of a chant to execute.
The idea is that if this is on a cron, it should detect the appropriate chant by the day since some configured time, and then tweet the subsections of the chant based on which argument is given.
Then setup is based on a daily cron --each time of day given a different argument.
Using Unix 'at' might be better than using python sleep to regulate the schedule
http://en.wikipedia.org/wiki/At_%28Unix%29
I can't tell if there's a 'better' way with this
Given a configured list of key words, add hash marks to tweet content that has those words.
Have the option to read all chants from a single document.
1 line break - a separate tweet
2 line breaks - separate title from chant content
3 line breaks - separate chants
In case a line is more than 140 characters, split it up and post the tweets sequentially immediately
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.