Toolchain to acquire data from TweetDeck and process it.
This is a full rewrite and replacement for deckcheck, written in a more modular approach to easier analyze the acquired data further.
- Node.js (at least 7.6.0)
npm install
to install dependencies
This time it will really take a while, we need to install a version of Chromium for this to work!
discord
contains a block with values related to reporting to a Discord webhookenabled
to enable to disable the reports to Discordwebhook_url
, the URL of the webhook deckcheck will post tousername
, username of the Bot user it will post asavatar_url
, avatar of the Bot user it will post as
twitter
contains a block with values related to posting a tweet over Twitterenabled
to enable or disable posts to Twitter- the rest of the values are keys you can get from a Twitter application!
asset_path
, directory for downloaded assetsoutput_path
, directory for the generated reportsoutput_url
, URL the generated reports will be available (publicly)data_path
, directory path where the data gets written to/read from
npm start
- Acquires valuable information from TweetDecks
window.TD
object - Compares with already existing data
- Creates a HTML report for changed data
- Posts a message into a Discord channel if something changed (optional)
- Posts a tweet to Twitter if something changed (optional)
- Writes changes to disk
It's super easy, for real. Just create a xx_task.js
file in lib/modules/
where xx
is a number that is not taken yet and write a function that resolves a Promise, like so:
// data is what we get from other Promises
module.exports = function (data) {
return new Promise (function(resolve, reject) {
// ... do something in here
// always end with resolve(data), don't reject
// because we don't handle rejects at all
resolve(data);
})
}
- Fork and clone the repository
- Make a new branch
- Apply your changes
- Open a Pull Request
rasp is licensed under the MIT License