Skip to content

refactor!: strip platform features, keep core parse/pretty-print#508

Merged
aybabtme merged 1 commit intomasterfrom
strip-platform-features
Mar 17, 2026
Merged

refactor!: strip platform features, keep core parse/pretty-print#508
aybabtme merged 1 commit intomasterfrom
strip-platform-features

Conversation

@aybabtme
Copy link
Collaborator

Remove all cloud and platform features (systray, background service, auth, orgs, environments, projects, queries, streaming, onboarding, demo, cloud ingestion, localhost server) to return humanlog to its core mission: a Unix CLI that reads structured logs from stdin, pretty-prints them to stdout, and optionally forwards them to an OTLP endpoint.

Kept:

  • Core stdin parsing and stdout pretty-printing
  • Self-update (version check/update) infrastructure
  • Config management (show, show-defaults, reset-to-defaults, set)
  • New --otlp-endpoint / OTEL_EXPORTER_OTLP_ENDPOINT flag for log forwarding

Removed cmd/humanlog files:
auth, onboarding, demo, service, systray, api, state, organization, environment, project, query, stream, genny, ingest, helper, localhost

Removed internal directories:
localserver, localproject, localstate, localalert, localsvc, compat, pkg/iterapi, pkg/absfs, embeds, errutil

Removed pkg directories:
localstorage, validate, retry, sink/logsvcsink

Also: cleaned CI workflows (removed HUMANLOG_GOTAGS), fixed build.sh ldflags variable names, removed connectrpc dependency from otlpsink.

…/self-update

Remove all cloud and platform features (systray, background service, auth,
orgs, environments, projects, queries, streaming, onboarding, demo, cloud
ingestion, localhost server) to return humanlog to its core mission: a Unix
CLI that reads structured logs from stdin, pretty-prints them to stdout,
and optionally forwards them to an OTLP endpoint.

Kept:
- Core stdin parsing and stdout pretty-printing
- Self-update (version check/update) infrastructure
- Config management (show, show-defaults, reset-to-defaults, set)
- New --otlp-endpoint / OTEL_EXPORTER_OTLP_ENDPOINT flag for log forwarding

Removed cmd/humanlog files:
  auth, onboarding, demo, service, systray, api, state, organization,
  environment, project, query, stream, genny, ingest, helper, localhost

Removed internal directories:
  localserver, localproject, localstate, localalert, localsvc, compat,
  pkg/iterapi, pkg/absfs, embeds, errutil

Removed pkg directories:
  localstorage, validate, retry, sink/logsvcsink

Also: cleaned CI workflows (removed HUMANLOG_GOTAGS), fixed build.sh
ldflags variable names, removed connectrpc dependency from otlpsink.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@aybabtme aybabtme merged commit da2b824 into master Mar 17, 2026
6 checks passed
@aybabtme aybabtme deleted the strip-platform-features branch March 17, 2026 05:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant