Skip to content

HassanAmirii/devlog-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

devlg

A minimal CLI tool to log what you build, fix, learn and figure out — directly into your devlog site from anywhere on your machine.

devlg ─── your dev memory
? What kind of entry?
  ❯ ● built        — shipped or created something
    ● learned      — understood something new
    ● fixed        — debugged or resolved an issue
    ● figured out  — had a realization or insight
    ● keep   — keep resources for future use
    ● wins   — log your recent win
    ● reflection — document your thoughts and insights

? Title: Deployed JIA — AI goal accountability app
? Description: Built a full goal manager with AI advisor...
? Stack / tags: HTML, CSS, JS, DeepSeek API
? Add Link for reference (optional, press Enter to skip)
✓ Entry saved
  built — Deployed JIA — AI goal accountability app
  9 total entries in your devlog

Install

npm install -g @hassan2bit/devlg

Setup (first time only)

devlg init

Point it at your local devlog project folder. Config is saved to ~/.devlog-config.json.

Usage

# Add a new entry interactively
devlg

# Show recent entries in the terminal
devlg list

# Show last 10 entries
devlg list -n 10

# Re-run setup
devlg init

How it works

devlg writes directly to data/entries.json inside your devlog project folder. After logging an entry, go to your devlog folder and push to Netlify or GitHub Pages to go live.

Pair with devlog

This CLI is built to work with the devlog site — a clean minimal developer journal you can host free on Github page.

  1. Fork devlog
  2. Deploy to Gihub page
  3. Install @hassan2bit/devlg and run devlg init
  4. Log from anywhere, push to deploy

License

MIT

About

Minimal developer journal site + CLI tool published to npm as @hassan2bit/devlg

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors