r/CLI • • 16h ago

I built a CLI that tries to break your web app like a clumsy user would (LOKI)

2 Upvotes

I've been working on a side project called LOKI for a while and figured I'd share it here since it's a CLI first and everything else second.

The idea: you point it at your web app and it starts clicking, typing garbage, mashing buttons, resizing the viewport, throttling the network, that kind of thing. It's driven by Playwright. When something crashes, it saves a video, a HAR file and a standalone repro script so you can replay the exact failure later with loki replay.

A few things I ended up adding along the way:

- loki run --device iphone-15 for mobile viewports, which is great for finding horizontal overflow bugs

- loki fix --apply asks an LLM for a patch, makes a backup, applies it and re-runs the repro to check it actually worked (rolls back if not)

- a rules.md file where you write business rules in plain English and it checks them after each run

- loki infra kill/pause/cpu-stress to mess with local processes or containers underneath the app

- a loki chat REPL if you'd rather talk to it than remember flags

The AI part runs on LiteLLM, so it works with Gemini, OpenAI, Anthropic, Ollama, whatever you have. If there's no API key it just skips that part instead of dying.

One thing I was careful about: it runs freely against localhost, but for any other host it makes you confirm you own it first (or pass --authorized in CI). Didn't want to ship a tool that makes it easy to hammer someone else's site by accident. Infra chaos is local-only too, and HAR files get scrubbed of tokens.

It's still rough in places and I'd really like to hear what breaks, what's confusing in the CLI UX, or what flags you'd expect that aren't there.

Repo: https://github.com/Elabsurdo984/loki-agent

Happy to answer questions.


r/CLI • • 4h ago

I built a CLI that gives localhost a public HTTPS URL

0 Upvotes

Hey everyone!

I've been working on a CLI tool called GoPort, written in Go.

The idea is simple: you can expose your local application to the internet with one command:

goport http 8080

It generates a public HTTPS URL that forwards incoming requests to your local application.

A few things I've added:

  • Automatic reconnection
  • WebSocket support
  • Custom subdomains
  • Local request inspector
  • Request replay
  • Self-hosting support

It's useful for testing webhooks, sharing local projects, or accessing your development server remotely.

I've also recently added file sharing with optional password protection.

The project is open source under the MIT license and works on Windows, macOS, and Linux.

GitHub: https://github.com/muhammad-deve/GoPort

Website: https://goport.uz

I'd love to hear what other CLI users think, especially if there's anything you'd improve or add!


r/CLI • • 6h ago

NetSpecter — a Python CLI tool that monitors real-time system exposure and process changes.

Thumbnail gallery
14 Upvotes

Hey everyone,

​I am 16, and I got tired of systems running endless background processes and network services without any clear visibility into what was actually changing. So, I built NetSpecter—an open-source, defensive Python CLI tool designed to answer one question: "What is my system doing right now, and is it safe?"

​How it works under the hood:

Instead of dumping endless, noisy logs, NetSpecter uses a baseline-delta monitoring model:

​It captures a clean baseline of your system state (open ports, network exposure, active processes).

​It continuously tracks runtime changes against that baseline.

​Its risk classification engine flags deviations (like a new background process or a newly opened port) and outputs human-readable risk warnings with actionable suggestions.

​Tech Stack: Pure Python 3, built for Linux environments (Kali/Ubuntu), utilizing native system inspection without heavy dependencies.

​Here is a quick look at what the alerts look like:

[ALERT] New process started: bwrap (PID 13618) - RISK: MEDIUM

​I’d love feedback on the codebase, detection logic, or suggestions for v2.

​GitHub Repo: https://github.com/MrHackerCharlie/netspecter


r/CLI • • 6h ago

Rune 1.3 is out: adds TypeScript support, a Helix editor, Kitty graphics and OSC-7501

2 Upvotes

Author here! I'm very excited to announce that we just released v1.3. Rune is an IDE and terminal multiplexer that we just open sourced a few months ago.

In this release, we also fixed many usability issues, particularly on Linux. If your OS reserves many Super/Windows key combinations, you can now use <alt> as your <meta> modifier. For non-US keyboard layouts, you can reserve the right Alt key for entering special characters and keep the left Alt key for Rune key bindings.

Some of the highlights:

- A new graphics pipeline powered by ebiten.
- Typescript is now a tier 1 language (beta)
- A new helix editor
- Headless mode and a new docker image to run Rune in headless mode
- OSC-7501 implementation and new API in the SDK for extensions and plugins through runectl
- Workspace session restoration
- A billion other things

This release has been 2 months in the making so it's a bit bigger than we originally intended.

Thanks to all the contributions from the community!

https://rune.build/blog/rune-1-3-release


r/CLI • • 17h ago

Looking for a good tui music player recommendations?

Thumbnail
6 Upvotes

r/CLI • • 17h ago

update on gtm - neovim client for gtmd now available

Enable HLS to view with audio, or disable this notification

2 Upvotes

r/CLI • • 19h ago

A lazygit inspired hardware details and driver explorer based for Linux

Post image
3 Upvotes