Socket
Socket
Sign inDemoInstall

taskbot

Package Overview
Dependencies
1
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    taskbot

Perform tasks based on text from a given stream (hope to include email, twitter, and maybe even IM like jabber/irc/slack)


Version published
Maintainers
1
Install size
188 kB
Created

Readme

Source

Taskbot

Not ready for people to use, still experimenting would love help

Accept text, possibly from a stream, and parse for commands to then execute. For each command found, that command should be run through an array of parsers. Commands should be extracted from the message body. Commands/Parsers should be run sequentially so the message body may be modified in the process -- similar to express/connect style functions.

Install

npm install taskbot

Initial Spec

  • taskbot:
    • accepts:
      • messages as text/plain
      • messages as streams
      • messages as buffers
    • commands
      • # as inline command
      • consider adding parsing via commander (somehow)
      • can accept list (considering similar to yaml list)
      • get sent through different parsers based on command name or regex
        • analogous with express routes
      • are filtered out of text body automatically
        • make toggle for this in initialization object
    • parsers
      • parses commands through array of parsers
      • each parser is triggered on a keyword/command

#Additional Ideas

  • post message receive hook: If I am sending emails at x time, run task y
  • add headers to messages for things like webpages and emails
  • add some email parser from npm, I don't want to split and decode email bodies on my own
  • add html to txt email converter to prevent issues

#Contributing

Yes please. Select an issue/todo and pull request.

FAQs

Last updated on 26 Jan 2016

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc