All Projects → abskmj → Hukum

abskmj / Hukum

Licence: mit
An NPM module that displays Github Action progress in the terminal and aims to improve your development experience by printing status in realtime.

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Hukum

Reactopt
A CLI React performance optimization tool that identifies potential unnecessary re-rendering
Stars: ✭ 1,975 (+426.67%)
Mutual labels:  npm, npm-module, developer-tools
Homebridge Wol
A Wake on Lan plugin for Homebridge
Stars: ✭ 150 (-60%)
Mutual labels:  npm, npm-module
React Ckeditor
CKEditor component for React with plugin and custom event listeners support
Stars: ✭ 124 (-66.93%)
Mutual labels:  npm, npm-module
Yalc
Work with yarn/npm packages locally like a boss.
Stars: ✭ 3,155 (+741.33%)
Mutual labels:  npm, developer-tools
Awesome Awesome Nodejs
🐢🚀 An Awesome list of Awesome lists related to Node.js.
Stars: ✭ 1,389 (+270.4%)
Mutual labels:  npm, developer-tools
Nekos Dot Life
Nekos.life wrapper.
Stars: ✭ 108 (-71.2%)
Mutual labels:  npm, npm-module
Darkmode.js
🌓 Add a dark-mode / night-mode to your website in a few seconds
Stars: ✭ 2,339 (+523.73%)
Mutual labels:  npm, npm-module
Npm Link Up
🔄 Link your NPM projects automatically, for sophisticated / modular local development.
Stars: ✭ 68 (-81.87%)
Mutual labels:  npm, developer-experience
Ts ci
✅ Continuous integration setup for TypeScript projects via GitHub Actions.
Stars: ✭ 225 (-40%)
Mutual labels:  npm, npm-module
Docker Mastery For Nodejs
Docker Mastery for Node.js Projects, From a Docker Captain
Stars: ✭ 231 (-38.4%)
Mutual labels:  npm, developer-tools
Singlespotify
🎵 Create Spotify playlists based on one artist through the command line
Stars: ✭ 254 (-32.27%)
Mutual labels:  npm, npm-module
Tplink Cloud Api
A node.js npm module to remotely control TP-Link smartplugs (HS100, HS110) and smartbulbs (LB100, LB110, LB120, LB130) using their cloud web service (no need to be on the same wifi/lan)
Stars: ✭ 96 (-74.4%)
Mutual labels:  npm, npm-module
Event Target Shim
An implementation of WHATWG EventTarget interface, plus few extensions.
Stars: ✭ 89 (-76.27%)
Mutual labels:  npm, npm-module
Discord.js Musicbot Addon
This DOES NOT WORK any more. This repo only serves as an archive for is anyone wants to pickup my work. You may still join the discord however.
Stars: ✭ 109 (-70.93%)
Mutual labels:  npm, npm-module
Webcam Easy
javascript access webcam stream and take photo
Stars: ✭ 79 (-78.93%)
Mutual labels:  npm, npm-module
Hela
🍦 Powerful software development experience and management. Enhancing @tc39 JS, @denoland and @nodejs, because we need a bit of magic. ✨ You can think of it as Cargo for the JavaScript ecosystem.
Stars: ✭ 320 (-14.67%)
Mutual labels:  developer-tools, developer-experience
Packagephobia
⚖️ Find the cost of adding a new dependency to your project
Stars: ✭ 1,110 (+196%)
Mutual labels:  npm, npm-module
Package.json
文件 package.json 的说明文档。
Stars: ✭ 67 (-82.13%)
Mutual labels:  npm, npm-module
Jsonexport
{} → 📄 it's easy to convert JSON to CSV
Stars: ✭ 208 (-44.53%)
Mutual labels:  npm, npm-module
Ngx Smart Modal
Modal/Dialog component crafted for Angular
Stars: ✭ 256 (-31.73%)
Mutual labels:  npm, npm-module

npm (scoped) NPM npm Sponsor

Hukum - Displays Github Action progress in terminal

Hukum is an NPM module that displays Github Action (GA) progress in the terminal. It works for workflows that run when a commit is pushed to Github repo. Once a commit is pushed, Hukum will print status updates in realtime.

Hukum aims to improve your development experience with immediate feedback of the GA Workflow in your terminal.

Installation

npm install --global hukum

hukum

How it works?

Hukum uses Github Actions API to get the related workflow to the recent git push and its status. It keeps on calling the APIs every 1 second to update the status on the terminal.

Below is a sample output for one of the workflows.

   Add post - Setup Snapcraft in a Github Action Workflow
     ✔ deploy 16s
       ✔ Set up job 2s
       ✔ Run actions/[email protected] 0s
       ✔ Install hugo 8s
       ✔ Install hugo theme 1s
       ✔ Build 0s
       ✔ Deploy 5s
       ✔ Post Run actions/[email protected] 0s
       ✔ Complete job 0s

Configuration

Hukum can work out of the box without any configuration. However, it provides a few configuration options. Include a .hukumrc file in your home directory or the root of the project with the following contents or set the below environment variables.

{
    "github": {
        "token": "<token>"
    }
}

Github Personal token

// .hukumrc
{ "github": { "token": "<token>" } }
# environment variable
HUKUM_GITHUB_TOKEN=<token>

Hukum uses Github Actions API. It is possible to use these APIs without any authentication for public repositories. However, for unauthenticated requests, the rate limit allows for up to 60 requests per hour (Details at docs.github.com) which can exhaust quickly. Authenticated requests have higher limits, up to 5000 requests per hour.

You can follow these steps at docs.github.com to create a personal token. The token does not need to have any specific scope for public repositories. However, the token needs to have repo - Full control of private repositories scope for private repositories.

Fixes & Improvements

Head over to the issues tab at github.com to report a bug or suggest an improvement. Feel free to contribute to the code or documentation by raising a pull request.

Sponsor / Support

If you find the project interesting or helpful, please consider sponsoring or supporting it at github.com.

Links

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].