GithubHelp home page GithubHelp logo

0x263b / stats Goto Github PK

View Code? Open in Web Editor NEW
10.0 10.0 2.0 50 KB

Stats/Analytics generator for IRC, Slack and Twitch channels

Home Page: https://kash.im/stats/

License: MIT License

HTML 59.77% Ruby 40.23%
analytics-generator irc slack stats twitch

stats's People

Contributors

0x09 avatar 0x263b avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

stats's Issues

Trouble Running for the First Time

Hello, I'm trying to setup Twitch logging. I configure the config.yaml file and I run ./stats_twitch.rb. Once doing so, I get the error.

./stats.rb:278:in `initialize': No such file or directory @ rb_sysopen - /home/Stats/twitch/#timmac.log (Errno::ENOENT)
        from ./stats.rb:278:in `open'
        from ./stats.rb:278:in `<main>'

So, understandable, I create the folder and log file. Once done, I run the program again, which results in

./stats_twitch.rb:348:in `at': can't convert nil into an exact number (TypeError)
        from ./stats_twitch.rb:348:in `<main>'

Troubleshooting, I discovered the database file isn't being created by the script, so I create a database.json file, and put {} in it's contents. Doing this results in

./stats_twitch.rb:282:in `block in <main>': undefined method `has_key?' for nil:NilClass (NoMethodError)
        from ./stats_twitch.rb:280:in `each'
        from ./stats_twitch.rb:280:in `<main>'

From here, I'm not sure what to do. Assistance would be appreciated, thank you!

Irssi support

This is beaaautiful and I love it. However, I have 15 years of irssi logs formatted like this:

21:46 < makinen> no juu eipä sil niin väliä mitä on kunhan on hyvää
21:47 -!- kummitus [[email protected]] has quit [Ping timeout]
21:47 -!- kummitus [[email protected]] has joined #pulina
21:55 -!- jugde_derdd [[email protected]] has quit [Quit]
22:00 < motni> no google musiikista löyty samaa tyyliä lisää
22:00 < motni> haeskelin vain "unbox therapy" musiikkia :D
22:06 <@mustikkasoppa> huh pääsinpäs irkkiin

Any way to use this with irssi logs?

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.