npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

tmlg

v0.0.6

Published

simple timelogging for web and cli with exports

Downloads

15

Readme

TMLG

A simple and fast time logger for web and cli:

  • simple syntax, no unnecessary controls
  • responsive, color-scheme-aware frontend
  • serverless synchronization between multiple devices
  • bundled with http-server
  • supports timers
  • exports to xlsx, odt...

Usage

Use this instance hosted on github or install it on your own.

Installation

Run npm i tmlg -g, then just run tmlg --serve. Pass any http-server options to the same command, e.g. tmlg --serve --port 1234...

You can also just download this repo and put the contents of /dist/ on any http server.

The app needs to served either from localhost or a SSL-enabled server, otherwise the browser might deny access to certain APIs

CLI Usage

usage: tmlg [options|timelog]

use a quoted string as argument to create a timelog, e.g. "@acme #admin did some stuff and such"

options:
  -h --help      Show this help
  -e --edit      Edit timelog of given hash
  -d --delete    Delete timelog of given hash

  -t             Take N timelogs [10]
  -s             Skip N timelogs [0]
  -c             List of columns to show [date,clients,projects,tasks,sources,duration,cost,description]
  -w             week to show timelogs of, e.g. -w yyyy-mm-dd
  -m             month to show timelogs of, e.g. -m yyyy-mm-dd
  --export       Export current view to given filename, '
                 use xlsx, odt, txt or csv as extension, e.g. --export logs.odt

  --serve        server dist/ via http-server, use `--port 1234` etc to pass options to http-server

  --settings     Show current settings
  --set          Set a setting, omit value for interactive, e.g. --set syncEnabled true

  --sync         Sync now
  --sync-info    Show current sync credentials
  --sync-setup   Launch interactive sync setup
  --sync-enable  Toggle sync ON
  --sync-disable Toggle sync OFF
  --show-sync    Show URL (with --url) and cli sync setup, use --include-password to include password

  --time         Start a timer for given timelog, e.g. --time "@acme #waiting this may take some time..."
  --pause        Pause a currently running timer by index, e.g. --pause 1
  --resume       Resume a currently running timer by index, e.g. --resume 1
  --kill         Destroy a currently running timer by index, e.g. --kill 1
  --stop         Stop and convert a currently running timer to timelog by index, e.g. --stop 1