Code Monkey home page Code Monkey logo

whatpulse's People

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

whatpulse's Issues

Separate login module

Separate config and state file manipulation logic from whatpulsed.py to allow reusing it for other scripts, such as upload_computerinfo.py.

the heatmaps

Hello,

Have you had much success understanding the sqlite database?
I'm specifically looking to understand the key codes in the combo key table.
A few of them are straight forward, but others are eluding me.

Thanks. This is a great resource

Provide a own whatpulse backend

Since whatpulse staff seems to be pretty picky about how their stuff is used, i'd like to see your own whatpulse server to login and push to. That would also bypass all the account suspensions.

Does not work with systemd service unit

Hi,

i want to automatically start whatpulsed, so i created an systemd service unit, everything seems fine and "starts" without error, but systemd status says it is inactive (dead), there is no whatpulsed process running, no .pid file created and no data gets pushed.

my whatpulsed.service file:

[Unit]
Description=mouse and keyboard tracker
Documentation=https://github.com/sim642/whatpulse

[Service]
ExecStart=/usr/bin/whatpulsed
WorkingDirectory=/usr/share/whatpulse

[Install]
WantedBy=default.target

Anyone tried this before? Is there anything wrong with my unit? Or does whatpulsed not support service units?

Crash on non-existent interface

Traceback (most recent call last):
  File "whatpulsed.py", line 214, in <module>
    main_loop()
  File "whatpulsed.py", line 150, in main_loop
    cur_bytes = get_bytes()
  File "whatpulsed.py", line 80, in get_bytes
    'rx': int(open('/sys/class/net/' + interface + '/statistics/rx_bytes').read()),
FileNotFoundError: [Errno 2] No such file or directory: '/sys/class/net/eth0/statistics/rx_bytes'

Response statuses are not handled

Non-200 response statuses indicate failure.

<server><responses><response type="client_login"><status>900</status><server_msg>Your account has been suspended. Please check website for instructions.</server_msg></response></responses></server>
<server><responses><response type="pulse"><status>600</status></responses></server>

Optional evdev dependency

evdev should not be a mandatory dependency but only required when input counting is actually used.

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.