Skip to main content

Reactive web console for AgentIRC — Playwright-driveable lens for the Culture mesh.

Project description

irc-lens

irc-lens is the agent-driven web console for AgentIRC in the Culture ecosystem. Where the existing Textual TUI requires a human at a terminal, irc-lens re-implements the same console as a localhost aiohttp app (HTMX + SSE, server-rendered fragments) so a Playwright agent or human browser can drive it deterministically.

Quickstart

pip install irc-lens
irc-lens serve --nick lens --open

--host / --port default to a local AgentIRC at 127.0.0.1:6667 — supply --host / --port to point at a remote server. The --open flag launches the default browser at the printed URL. Quit with Ctrl-C.

Develop

git clone https://github.com/agentculture/irc-lens && cd irc-lens
uv venv && uv pip install -e ".[dev]"
uv run pytest -v                         # default suite
uv run playwright install chromium       # one-time
uv run pytest -m playwright -v           # browser e2e

Docs

Production deployment

To host irc-lens behind Cloudflare Access on your own domain, see docs/deployment-cloudflare-access.md.

License

See LICENSE.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

irc_lens-0.6.1.tar.gz (404.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

irc_lens-0.6.1-py3-none-any.whl (179.3 kB view details)

Uploaded Python 3

File details

Details for the file irc_lens-0.6.1.tar.gz.

File metadata

  • Download URL: irc_lens-0.6.1.tar.gz
  • Upload date:
  • Size: 404.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.19 {"installer":{"name":"uv","version":"0.11.19","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for irc_lens-0.6.1.tar.gz
Algorithm Hash digest
SHA256 81b322d5c3b820baaaa1691c97ddb4404ae805cceb13c711415b80b7b4de179e
MD5 6658927c1c367a04d66dc7608f8a1e56
BLAKE2b-256 736f0a3d6455a618fc2086604be992d7f3e8247bc57ecdcac664956d45d3fef5

See more details on using hashes here.

File details

Details for the file irc_lens-0.6.1-py3-none-any.whl.

File metadata

  • Download URL: irc_lens-0.6.1-py3-none-any.whl
  • Upload date:
  • Size: 179.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.19 {"installer":{"name":"uv","version":"0.11.19","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for irc_lens-0.6.1-py3-none-any.whl
Algorithm Hash digest
SHA256 218c937d4c404d0b3b275f26b2f588b1819bd5cfb42080d076c5b563fdd051ee
MD5 bff00035e196a259eb47dbe1f059abd1
BLAKE2b-256 e5b5e2b8ca54d94e806482ec375f6407bae167d8277e9bd738ce66d549664716

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page