anomaly / anomaly/gallagher

Provide a runnable TUI demo interface via `textual-web` for users to try against the Anomaly license

Abierto
#28 2 comentarios 0 reacciones 1 asignado Reclamado por @devraj Ver en GitHub
Lenguaje dominante
Python
Estrellas
17
Forks
2
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

For users to be able to try the TUI without having to install anything it would be cool if we can provide a web accessible version. [`textual-web`](https://github.com/Textualize/textual-web) is designed to this and is currently in `beta`

## Technical consideration

We should first run a demo to see what infrastructure we need to run a tui application (e.g do we need to run a deamon or process of some sort?)

~Ideally we should be able to run this on a service like `vercel` or `railway` to minimise any infrastructure management overhead.~

From what I can see that `textual-web` runs a proxy that is accessible via their web service (pending further investigation)

```
~/.local/bin/textual-web --run "gallagher.tui:main"
```

The demo license is provide for Anomaly to use, so we would have to consider some of rate limiting or even a way for the user to limit interaction. This might even involve a mechanism to reset the virtual machine running our command centre to a `good known` state every 24 hours?

Ensure that the API key is never exposed as part of the demonstration.

## Other thoughts

This would definitely be a very good demonstration of the #9 and #27 features without the user having to set anything up.

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.