Code Monkey home page Code Monkey logo

gitterlogger's Introduction

GitterLogger

A Gitter Log Archiver in Py3k (Just Works™).

It works and is being used in production, but code is shit and needs to be revamped (especially globals), I haven't touched Python seriously in years so I'm not planning to do that anytime soon though.

Credits

This uses the awesome GitterPy by Frozen Monkey | MichaelYusko.

Description

This dumps the Gitter log starting from the last message, it works iteratively so to update with new messages just run it again. It dumps a json file with {id:{date,name,html}}. The first run may take some time if the chat has lots of messages. In extreme situations it may hog your RAM because it doesn't have checks and is somewhat naive. It's used in production with success though (100k+ messages chats).

How to use:

  1. Paste your token in a token.txt file
  2. Configure the room name, also check the message it sends (bottom of script)
  3. Make sure line 4 is commented and line 5 isn't. Either install gitterpy (opt comment line 3) or clone recursively

gitterlogger's People

Contributors

alan-fgr avatar

Watchers

 avatar  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.