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.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.0.tar.gz (76.0 kB view details)

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for hamster-rc-0.1.0.tar.gz
Algorithm Hash digest
SHA256 8cd59e5d639ab7c4b9513285528bc870f1d1ed6727737cd9585782eaf0754b41
MD5 14d470ad14bfca05e91f77346046a1f8
BLAKE2b-256 f9c8a3ea5720b9b91e361c238b3dbc734402b691b548ed488280ab8c08324e85

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