Commit graph

7 commits

Author SHA1 Message Date
Nikos Papadakis
b4cd5642ed
app refactoring 2024-02-01 17:34:26 +02:00
Nikos Papadakis
ac709e66f5
add web terminal emulator (closes #6) 2023-12-16 22:59:19 +02:00
Nikos Papadakis
818b20f775 add functionality that creates wordpress sites
Reviewed-on: https://git.nikos.gg/prymn/prymn/pulls/9
Co-authored-by: Nikos Papadakis <nikos@papadakis.xyz>
Co-committed-by: Nikos Papadakis <nikos@papadakis.xyz>
2023-12-14 12:27:05 +00:00
Nikos Papadakis
8bf9261583
upgrade phoenix
Now with the new liveview async API!
2023-11-20 00:27:36 +02:00
Nikos Papadakis
be7f584010
app: a nice poc background connection with the agent
Dynamically supervise a GRPC connection and keep it alive for a while,
using a timeout to kill the process on inactivity.

The Connection GenServer keeps the connection alive, while listening to
a health stream from the GRPC endpoint, notifying any subscribed
listeners about changes to health.

This health is then propagated to the main servers page.

Also create a looping get_sys_info which retrieves some basic system
information.
2023-08-26 00:51:04 +03:00
Nikos Papadakis
5bd44ef9ac
refactor: agent connections now use the new healthcheck streaming
`Prymn.Agent.Connection` GenServer uses healthchecking with the new
streaming RPC, retrieving asynchronously the health status of the agent.

The Connection will also shut itself down when there's no usage (when
the keepalive function is not called frequently)
2023-08-19 21:14:07 +03:00
Nikos Papadakis
de55092ade
rename backend -> app 2023-07-19 23:24:24 +03:00
Renamed from backend/lib/prymn/application.ex (Browse further)