Giter Site home page Giter Site logo

xmpp-crowd's Introduction

xmpp-crowd

This is just a bunch of bots based on the great SleekXMPP python library, which are running on my system to make my life a little bit easier. Some of these will not be of any use for the broader public, especially as they're missing docstrings (ahem), but if anyone can get any interest out of them, it's fine.

hub.py

hub.py is in fact the core of the “modern” bots (i.e. all but foobot.py), which abstracts away some of the (very little) boilerplate all bots share.

buildbot.py

Thats a really cool guy who does what you'd suspect from reading his name. He'll listen for events on a pubsub node and trigger shell commands or whatever when certain events come in. It's built to work together with gitbot.py, which will push the proper events if installed in a git repositories post-update hook. It should be easy to customize both to work with hg or similar.

buildbot is highly configurable. See the buildbot_config.py for a nicely commented example.

xmpp-crowd's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

xmpp-crowd's Issues

Read common issue tracker fields

It would be nice if foorl could display common fields of bug trackers (author, status, last modified, ??).

I am not entirely sure though if foorl should implement each bug tracker's interface or if there's a way for bug trackers to declare a common interface that foorl can implement.

Avoid displaying titles when urls look "obvious enough"

As describe the other day in some room, it happens somewhat often that foorls output is redundant/pretty similar to the url itself, example:

user> https://blog.rust-lang.org/2018/11/27/Rust-survey-2018.html
foorl> website: Rust Survey 2018 Results - The Rust Programming Language Blog
user> https://blog.gruntwork.io/5-lessons-learned-from-writing-over-300-000-lines-of-infrastructure-code-36ba7fadeac1
foorl> website: 5 Lessons Learned From Writing Over 300,000 Lines of Infrastructure Code

"obvious enough" can be loosely defined as "most words foorls gather are already contained in the url.
There could be a way for foorls to avoid displaying these urls when it is the case.

Command to show most recent followers

As long as the account is small, it is useful to see who has followed most recently. Unfortunately, this is currently only possible by logging into the twitter.com website. We should add a command for that.

poll module uses global state

The fix for this one should probably be analogous to the implementation found in the InfoStore: have a manager object which takes care of all persistent storage. This could even save polls to disk upon a foorl respawn.

a reusable config framework must be established

This would allow to get rid of all the constants e.g. in hub.py. Those constants are currently quite annoying, especially when building test setups etc.

however, to properly get rid of them, the implementation of a reusable config framework, which should be a good mix of the one used for infobot and the one used for foorl, is desired.

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.