Commit graph

19 commits

Author SHA1 Message Date
b6bf444fcf
feat(blog): make blog title list interactive 2025-08-12 08:18:49 +01:00
4d6d8974e4
fix: feature gating for blog breaking other builds 2025-08-11 19:01:08 +01:00
27eaf50448
feat: include ATProto powered blog using whitewind lexicons
Includes a blog system which fetches whitewind blog posts stored on an
ATProto PDS:

* Optional feature to enable the blog system
* Updated build script to generate client from lexicons
* Fetching system along with in-memory caching and data validation
2025-08-11 08:02:15 +01:00
21de453415
refactor: asyncify stop and exit for Tui 2025-02-03 06:24:32 +00:00
764cddee0e
refactor: use indoc! for better formatting of cat ascii art 2025-02-02 18:46:13 +00:00
fc41a499e6
feat: impl portfolio design with complete about page
Finally implemented the actual portfolio design! This includes a tab
mechanism for various aspects of the portfolio and the complete content
for the about tab.

Also fixes the TUI not being correctly scaled due to crossterm using the
dimensions of the server console tty instead of the client pty by
defining a custom `Backend` for ratatui.
2025-02-02 18:28:57 +00:00
41d47f25b8 chore(README): ya yeet 2025-01-31 16:39:11 +00:00
32bce3dc4c
feat(cli): improvements to outputs & bind options
It is now possible to specify the host and port the SSH server listens
to using CLI arguments. Also improved host key naming and some inline
strings within the CLI version menu.
2025-01-31 16:34:23 +00:00
7bbae7f21c
chore(build): no need to rebuild for Cargo.toml changes 2025-01-31 16:32:48 +00:00
bcc667f3ea
fix(tests): use pretty_assertions for keycode tests 2025-01-31 13:09:37 +00:00
0e4dd8a7a8
chore(build): print only stem instead of full path in warn 2025-01-31 13:09:00 +00:00
262c75d36d
feat(build): generate host keys automatically on build 2025-01-31 12:56:34 +00:00
36a62018e5
refactor: accept CLI args as options and minor restructuring
* Made constructed `App` instances use CLI args for `frame_rate` and
  `tick_rate`
* Moved lazy constants from `LazyLock` to `lazy_static!`
* Slightly restructure SSH config initialization
* Also apply rustfmt formatting to some files
2025-01-30 06:57:02 +00:00
67380f6057
fix(tui): remove unwrap and replace with error log 2025-01-30 06:21:56 +00:00
26ffbb5411
refactor(ssh): remove unnecessary panics and improve logging 2025-01-30 06:19:38 +00:00
1f72560438
feat(ssh): validate terminal emulator support 2025-01-29 14:50:07 +00:00
d22b1c3a34
refactor: remove server tui event handling 2025-01-29 14:44:23 +00:00
9c92bf4f3e
feat: forward ssh keystroke data to tui
Makes controls usable by taking SSH keystroke data (encoded in the xterm
format) and converting them to crossterm `KeyCode`s / `KeyEvent`s and
sending them to the `Tui`.

Also adds support for suspension of the `Tui` over the SSH connection.

Some minor refactoring was also done.
2025-01-29 14:21:50 +00:00
15a6cfe4e2
feat: init, basic rendering with ratatui to ssh backend 2025-01-28 05:40:02 +00:00