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 🙏

© 2025 – Pkg Stats / Ryan Hefner

logify-cli-tool

v1.0.4

Published

A lightweight, colorful CLI tool to record, replay, export and summarize your terminal sessions — perfect for debugging, documentation, and sharing your dev workflow.

Readme

Logify (CLI tool)

License: MIT

Built with OpenAI

Status

Logify is a minimal yet smart CLI tool that tracks your terminal sessions — recording every command you run, its output, and the timestamp.
It’s your personal developer diary, built right inside the terminal.
Perfect for journaling your coding days, debugging your workflow, or showing your progress to mentors and teammates.

Features

  • Session Logging: Automatically records all commands & outputs during your terminal session.
  • Session Replay: Replays past sessions with delays to visualize command history.
  • Search & Filter: Find specific commands or patterns across all sessions.
  • Export to Markdown: Convert your logs into clean .md files for sharing or documentation.
  • AI Summary: Generate concise summaries of what happened in each session using OpenAI’s API.
  • Cross-platform Ready: Works on Windows, macOS, and Linux terminals.

Built With

  • Visual Studio Code
  • Node.js
  • JavaScript
  • OpenAI
  • CLI

Installation

Follow these steps to set up the extension locally:

  1. Clone the repository

    git clone https://github.com/Gaurika-Sethi/Logify-CLI-tool-.git
    cd Code-Reviewer-Bot-VS-Code-Extension-
  2. Install dependencies

    npm install commander chalk dotenv openai
    npm install -g logify-cli-tool
  3. Add your OpenAI API key to a .env file in the root

    OPENAI_API_KEY=your_api_key_here
  4. Link the CLI globally

    npm link

Usage

  1. Start a new session
    lgy start

Tracks all commands you run in real-time and saves them to a daily log file.

  1. Stop the session
    lgy stop

Ends the session and closes logging.

  1. View history
    lgy history

Lists all stored session log files and shows file modification dates

  1. View specific date file

    lgy show -d 2025-10-06
  2. View inputs of specific date file

    lgy inputs -d 2025-10-06

Shows only the commands (inputs) from a session log

  1. View a particular cmd

    lgy search "git" -d 2025-10-06

Searches a session log for commands matching a pattern

Date option available. (default:today)

  1. View a particular cmd from all files

    lgy search-all "npm install"

Searches all session logs for commands matching a pattern

  1. Exports session log in .md format

    lgy export -d 2025-10-06

Exports a single session log to Markdown format

  1. Exports session logs in .md format

    lgy export-all

Exports all session logs to Markdown format

  1. Replay session logs

    lgy replay session-2025-10-06.log
    lgy replay session-2025-10-06.log --fast

Replays a past session log command-by-command Optionally with --fast (no delays)

  1. Summarize session
lgy summarize -d 2025-10-06

Uses OpenAI (gpt-4o-mini) to generate a concise summary of a session Saves the summary to summary-YYYY-MM-DD.txt

Requirements

  • Visual Studio Code
  • Node.js (v18+)
  • OpenAI API Key (stored securely in .env)
  • Internet connection for AI summaries

Tech Stack & Learnings

  • Node.js & JavaScript (CLI-based development)
  • OpenAI API integration for intelligent summaries
  • File system handling (reading/writing logs, exports)
  • Prompt design for clear and structured AI responses

Future Ideas

  • Integration with Notion, Slack, or GitHub for daily summaries
  • Local summary generation using open models (offline mode)

Known Issues

  • Occasional lag during summary generation (network-dependent)
  • Summaries may vary in tone depending on command density
  • No built-in auto-sync yet for cloud storage

💬 FAQ

Q: Do I need internet for summaries?
A: Yes. The summaries use OpenAI’s API, so an internet connection is required.

Q: Can I use another AI model provider?
A: Absolutely! The architecture allows swapping in HuggingFace or local models with minimal changes.

Q: Does it support exporting sessions in multiple formats?
A: Yes — Markdown export is supported, and HTML export is planned for future versions.

Contact

Project Link: Logify CLI tool

License

This project is licensed under the MIT License see the LICENSE file for full details.
You can also view the CHANGELOG.md for version updates and release notes.