Skip to main content

Hamster Remote Control

Project description

Hamster RC

Hamster RC (Remote Control) is a little web application that lets you control the Hamster time tracker running on your desktop from a remote browser as the one running on your mobile device.

So far it shows the facts made the current day and lets you start and stop a new activity. It communicates with Hamster via DBus.

I wrote it because many times I have to go here and there in the office and I don’t spend the whole day sitting at my desk. I need to track where I spent my time and carrying my phone around is something I usually do anyway. I have my desktop IP address saved as a bookmark in my mobile browser so it’s quite easy to access Hamster now :-)

Installation

Just type:

easy_install hamster-rc

Remember that you need python binding for dbus installed. Unfortunately this is it not easy in an isolated environment such as virtualenv or buildout. In my preferred distribution (Fedora) this is provided by the dbus-python package. The rest of python dependencies (mako, webob and routes) are installed automatically by easy_install.

Usage

Once it is installed, run it like this:

hamster-rc --host=192.168.0.2 --port=10000

and it will listen on that IP address and TCP port. It runs on localhost:8888 by default, which is not very useful since you want to access it from the outside.

Now, point your browser to http://192.168.0.2:10000 and just click on the buttons!

Development

You can get the last bleeding edge version of hamster-rc by getting a clone of the Mercurial repository:

hg clone https://bitbucket.org/lgs/hamster-rc

Future

Some features I may implement in the future are:

  • Simple authentication

  • HTML5 local storage support for saving the facts when you lost connection to the server. Later, when there is connection again, it could sync these facts back to Hamster.

Feel free to send me patches for these and other features you would like to have. Other feedback is also welcomed.

Changes

0.1.1 (2011-01-29)

  • Fix encoding problems (Issue #1)

0.1.0 (2011-01-23)

  • Initial version

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

hamster-rc-0.1.1.tar.gz (76.1 kB view details)

Uploaded Source

File details

Details for the file hamster-rc-0.1.1.tar.gz.

File metadata

  • Download URL: hamster-rc-0.1.1.tar.gz
  • Upload date:
  • Size: 76.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for hamster-rc-0.1.1.tar.gz
Algorithm Hash digest
SHA256 934c4624ff415f4e4139d53af917c9dcbf89b45c96e7513b81fc628b52393aed
MD5 ce344c857869b0b93d2e5800282ce519
BLAKE2b-256 9a38aeadfe8130708c354ef8da60784624548a16079fe2144e5443310e479df5

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page