Commit graph

10 commits

Author SHA1 Message Date
3c089bbdc3
style: apply rustfmt formatting to all files
Also moves rust toolchain to a nightly equivalent of stable 1.87, in
order to allow for existing rustfmt configs such as imports granularity
to be used.
2025-08-19 07:01:31 +01:00
ee524dc160
feat(blog): implement proper blog pages with full rendering
* Render blog headers using a patched `ratatui-image` to export internal
  `Picker` fields which we use to construct our own picker based on
  guesses for what capabilities a terminal might have based on
  `$TERM_PROGRAM` values
* Move truncate implementation into `content` module and have other
  modules import it
* Add `terminal` module under `tui` for classifying different terminals
  and storing information regarding them
* Update trait `Component::init` to supply a `TerminalInfo`, to help
  components adapt themselves to terminal emulator capabilities
* Move rust toolchain back to stable, now version 1.87
* Increase rustfmt max width and chain width to 95
2025-08-18 19:10:47 +01:00
256aa5b8bd
style: introduce new clippy config and apply
Also moves to nightly toolchain, mainly for specific clippy features.
2025-08-14 10:24:50 +01:00
03432bf9bb
build: address clippy warnings 2025-08-14 09:59:30 +01:00
caf29b3511
fix: broken build when blog feature is disabled
Also brings back the warning on blog tab when feature isn't enabled.
2025-08-12 08:35:10 +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
7bbae7f21c
chore(build): no need to rebuild for Cargo.toml changes 2025-01-31 16:32:48 +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
15a6cfe4e2
feat: init, basic rendering with ratatui to ssh backend 2025-01-28 05:40:02 +00:00