A simple command-line interface (CLI) to post developer logs to InsightLog — directly from your terminal.
- 🔐 Login securely using email/password using insightlog login
- 📝 Create logs with Markdown content and tags
- 🧑🤝🧑 Post logs to your team using insightlog post
- 🔒 Auth handled via saved token in
.insightlogrc - ⚙️ Lightweight, fast, and easy to use
- To log out use insightlog logout
Note: Requires Node.js v18+
npm install -g insightlog-cliinsightlog <command>insightlog loginPrompts for your InsightLog email and password and securely stores your token locally.
insightlog postPrompts for title, content (opens in default editor), and tags.
You must be part of a team and logged in.
insightlog logoutClears the saved token and session config.
User session info is saved in your home directory:
~/.insightlogrcContents (example):
{
"token": "JWT_TOKEN",
"authorId": "user-uuid",
"teamId": "team-uuid"
}Clone and run locally:
git clone https://github.com/xdSushil/insightlog-cli.git
cd insightlog-cli
npm install
node bin/index.jsMIT © Sushil R
Check out the full platform: InsightLog API & Platform