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.5.3.tar.gz (384.7 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.5.3-py3-none-any.whl (165.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: irc_lens-0.5.3.tar.gz
  • Upload date:
  • Size: 384.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.12 {"installer":{"name":"uv","version":"0.11.12","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.5.3.tar.gz
Algorithm Hash digest
SHA256 3bfb14e1e452d2c348a3ecb130ff9341439055b9aeb7c98356ebcfa278761b2a
MD5 f8c9b0d476b127e6a5e0f55ea8da31dc
BLAKE2b-256 188a98adace59f94400f93205e83cb6deb88e5136a64d36a867ac3e2276c2357

See more details on using hashes here.

File details

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

File metadata

  • Download URL: irc_lens-0.5.3-py3-none-any.whl
  • Upload date:
  • Size: 165.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.12 {"installer":{"name":"uv","version":"0.11.12","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.5.3-py3-none-any.whl
Algorithm Hash digest
SHA256 de3e11cd32cd21a76b71724aeac30d503a1dabdb50a0faee4d80f5d11d3eae9d
MD5 eaf852b5609ca46e6a7b106b30c9ddc6
BLAKE2b-256 05ea8b7e8cddbc5e77ce0393f3ecdbc899551cab4cb74709491f4e914cde5690

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