Skip to content

InsightLog is a full-stack internal developer productivity tool built for teams to log, share, and track technical insights. Features include role-based access

Notifications You must be signed in to change notification settings

InsightLog/insightlog-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🧠 InsightLog CLI

A simple command-line interface (CLI) to post developer logs to InsightLog — directly from your terminal.


🚀 Features

  • 🔐 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

📦 Installation

Note: Requires Node.js v18+

npm install -g insightlog-cli

🔧 Usage

insightlog <command>

📲 Login

insightlog login

Prompts for your InsightLog email and password and securely stores your token locally.


📝 Post a Log

insightlog post

Prompts for title, content (opens in default editor), and tags.

You must be part of a team and logged in.


🔐 Logout

insightlog logout

Clears the saved token and session config.


📁 Local Config

User session info is saved in your home directory:

~/.insightlogrc

Contents (example):

{
  "token": "JWT_TOKEN",
  "authorId": "user-uuid",
  "teamId": "team-uuid"
}

🛠 Development

Clone and run locally:

git clone https://github.com/xdSushil/insightlog-cli.git
cd insightlog-cli
npm install
node bin/index.js

📄 License

MIT © Sushil R


🌐 Project Link

Check out the full platform: InsightLog API & Platform

About

InsightLog is a full-stack internal developer productivity tool built for teams to log, share, and track technical insights. Features include role-based access

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published