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.8.0.tar.gz (508.3 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.8.0-py3-none-any.whl (206.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: irc_lens-0.8.0.tar.gz
  • Upload date:
  • Size: 508.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.26 {"installer":{"name":"uv","version":"0.11.26","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.8.0.tar.gz
Algorithm Hash digest
SHA256 672aac2a20a600007a7aaa0f464dc51d8d3f2f9ed5d4958eefadaf3f21e0d0ac
MD5 7b0ddb0d6bf522d833075c32ff15b0e4
BLAKE2b-256 a958f7321baa1f2ff754443ebc30aac785b107d470cb7fc2cc4d51d65b963318

See more details on using hashes here.

File details

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

File metadata

  • Download URL: irc_lens-0.8.0-py3-none-any.whl
  • Upload date:
  • Size: 206.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.26 {"installer":{"name":"uv","version":"0.11.26","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.8.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ec67e8ce58d90ea0951c4cffea6f4bbb0337b7cb79a6c7572533ed3b4575a123
MD5 06ac87afe9c5d5fd8e8422cfd54dd452
BLAKE2b-256 8629eeb484562054073b0cc612bd83bbf8803a0805097b32b7a2374f21607283

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