Slim alternative

lokei vs Slim

Slim and lokei both combine named local HTTPS with public sharing. The practical difference is the starting point: Slim maps a name to a port, while lokei begins with the project directory and owns the process lifecycle around that route.

Last verified: July 16, 2026

npm install -g @ulpi/lokei && lokei setup
See the feature comparison

At a glance

These are the differences that change the daily command you run.

Feature-by-feature comparison

Both products solve local HTTPS and sharing. This table separates explicit port routing from project-aware lifecycle management.

01

Local HTTPS and routing

02

Application lifecycle

03

Sharing and operations

Where each product has a real edge

This is the closest overall comparison. The real differences are distribution, per-route control, project lifecycle, and inspection—not share controls both products already provide.

01

Where Slim has a real edge

A source-available, self-contained Go tool for direct network mappings.

  • Install one compiled Go binary without requiring Node.js on the machine.
  • Choose a different local TLD for each route instead of one active machine-wide TLD.
  • Add ad-hoc path-to-port mappings directly on slim start without first declaring a project service model.
  • Inspect and build the public Go source under Slim's published PolyForm Shield license.
02

Where lokei has a real edge

A project-aware workflow before and after the reverse proxy.

  • Run from a project folder without first finding its command, route name, or port.
  • Start mixed host, Compose, Sail, worker, and monorepo service lifecycles.
  • Inspect bodies, filter traffic, replay modified requests, and export HAR files.
  • Share one service or a dependency-aware project session using the same project identity.

Which one fits your workflow?

Choose the smallest ownership model that removes the work you actually repeat.

01

Choose Slim if you...

  • Know the upstream ports and want explicit domain mappings.
  • Need a different custom TLD per route or ad-hoc path-to-port routing.
  • Want a compiled binary without a Node.js runtime dependency.
  • Prefer public source and a concise port-centric project file over application lifecycle automation.
02

Choose lokei if you...

  • Want the project directory to be the only required input.
  • Need the tool to start frameworks, Compose, Sail, or dependent services.
  • Need a full local request inspector rather than access logs alone.
  • Want public sharing to preserve project and service context.

Try lokei beside an existing Slim project

You can keep .slim.yaml while evaluating lokei, but both default proxies expect to own ports 80 and 443.

  1. 01Run slim down and stop the Slim daemon so the standard HTTP and HTTPS ports are free.
  2. 02Install @ulpi/lokei globally, run lokei setup once, and verify the machine with lokei doctor.
  3. 03From the application directory, run lokei run and confirm the assigned .test URL.
  4. 04Exercise lokei inspect and lokei share before deciding which project configuration to keep.

Do not run both products on their default proxy ports at the same time. The project source itself does not need to be rewritten for this evaluation.

lokei vs Slim FAQ

Direct answers about two products with unusually broad feature overlap.

Is Slim the closest alternative to lokei?

It is the closest CLI alternative in overall feature shape because it combines named local HTTPS, project configuration, HMR support, diagnostics, logs, and public sharing. lokei goes further into application discovery and lifecycle; Slim stays closer to explicit domain and port mappings.

Do both tools provide trusted .test domains?

Yes. Both install a local certificate authority and serve named .test domains over HTTPS. Slim maps names through the hosts file and also accepts other TLDs per route; lokei uses local DNS and one active machine-wide development TLD.

Which tool starts my Next.js or Vite application?

lokei detects and starts the project command. Slim documents HMR compatibility and can wait for the upstream, but its route command maps the name to a port rather than discovering and launching the application command.

Can both products share a local app publicly?

Yes. Both support requested public subdomains, password protection, TTL controls, and custom-domain options. The difference is context: Slim shares an explicit port, while lokei resolves the active project or selected services, starts a stopped project, and manages them as one share session.

Which product has the stronger request inspector?

lokei. Slim documents live access logs and log modes. lokei captures request and response bodies and adds filtering, editable replay, retention controls, and HAR export.

Can Slim handle a monorepo?

Yes, when services and ports are declared in .slim.yaml. lokei additionally models commands, dependencies, private workers, health checks, Docker Compose, Laravel Sail, and selective multi-service sharing.

Can I install both tools?

Yes, but do not run both default HTTPS proxies simultaneously because both need port 443. Stop one daemon before starting the other.

Sources and methodology

Slim claims use its public product reference and official source repository. lokei claims use the public website and published npm package documentation.

Verified July 16, 2026. Product behavior can change. Slim is a trademark of its respective owner. lokei is not affiliated with or endorsed by Slim. Where Slim's public reference does not document a lifecycle feature, this page says so instead of claiming the feature cannot exist.

$ lokei run

Run the project, not the port mapping

Install lokei, complete the one-time machine setup, then run it from the project directory.

npm install -g @ulpi/lokei && lokei setup