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

weeklytimelog-cli

v0.0.26

Published

A command-line tool for weekly timelog rest-api.

Downloads

13

Readme

WeeklyTimelog Cli

Terminal client for weeklytimelog.com

WeeklyTimelog is an Automatic Time tracking for Developers, that integrates with terminal, git repositories, popular task managers (Asana, Trello, YouTrack, Jira, etc), and many other developer productivity tools.

Official NPM Package Page

The CLI

The CLI is designed to help developers (and net admins) to track their terminal activities such as SSHing into servers, deploying, running tests, documenting maintenance work, etc. You may execute the WT command directly from the command line in manual mode (start/stop mode) or add the command to shell scripts or cron jobs to record the activity (as they are triggered).

Installation

  1. Install NodeJS and npm read more..

  2. Run sudo npm install -g weeklytimelog-cli

  3. Run wt --help

USAGE

Config

This command needs to be executed just once to configure the host. It basically authenticates against the WeeklyTimelog server and stores a temporary token in a local setting file.

    Pre-Requisite: 
            Please register in weeklytimelog.com first, to obtain the <username> and <password>

    Usage:
            wt config <username> <password>

    Sample:
            wt config myuser 123123

Timer (Start/Stop)

Tracks time spent in real time.

    Usage:
            wt start <description>

    Samples:
            wt start "Checking backups, cleaning up disk space"
            wt stop

Last

Records all the SSH access history logs entries in weeklytimelog as activity reminders.

    Usage:
            wt last

Activity

An acitivy reminds the developer of work accomplished during the day. It is not an effective timelog, but instead just a reminder. The developer can later log into WeeklyTimelog to convert these activity reminders into real timelogs.

    Usage:
            wt activity <description>

    Sample:
            wt activity "coding wt cli" 

Timelog

Describes the task performed and time spent allocated to a project. Timelogs are visible by project owner for further reporting, cost analysis, share with clients in real time, etc.

    Usage:
            wt timelog <hours> <description> [-p projectId]
                    projectId is optional. 

    Samples:
            wt timelog 1h30m "server maintenance" 
            wt timelog 1.5 "server maintenance" 


    

USE CASES

  • Manually run last command to record all your ssh access history activites.

  • Update your bash profile to start tracking time when SSHing into server. vim ~/.bashrc and add wt activity "Connecting to server for maintenance"

  • Update you deployment and testing script to automatically create activities (reminders)

  • SSH into server or from local terminal, use start command to record your activity.

  • Manually issue activity and timelogs commands on demand.

Further customization - API

The cli will provide basic commands but further customization can be done from any language thru our API.

  • API documentation

FAQ

Q. Is the CLI hooked $PROMPT_COMMAND ? A. NO. we are not reading the prompt, logs, tty output or any other sensitive data.

Q. Is the CLI sending the entire session to the server? A. NO. we are basically executing a API restfull call (to our server) with the activity description, time spent and host name.

Q. Is the CLI secure ? A. YES, source code can be accessed https://gitlab.com/fabian-castillo-developer/weeklytimelog-cli for review.

Support

  • Support Center
  • Support request or ideas
  • Request customization