vhs
tracing
vhs | tracing | |
---|---|---|
36 | 52 | |
14,030 | 5,006 | |
3.9% | 2.6% | |
8.3 | 7.8 | |
9 days ago | 1 day ago | |
Go | Rust | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
vhs
-
Ask HN: Interesting TUIs (text user interfaces), maybe forgotten ones?
I'm a maintainer of Ratatui (a rust TUI crate). Here's a few links
https://ratatui.rs/showcase/apps/
https://github.com/ratatui-org/awesome-ratatui
https://discord.com/channels/1070692720437383208/10729061831... (made with ratatui channel on our discord server)
We encourage our users to use https://github.com/charmbracelet/vhs to build out demos that look neat.
My particular favorite of the bunch (from a look and feel perspective) is https://github.com/zaghaghi/openapi-tui
Also, not ratatui, but worth a look: https://github.com/rothgar/awesome-tuis
-
How do people create those sleek looking demos for startups?
I'm a huge fan of charmbracelet's vhs:
https://github.com/charmbracelet/vhs
I have a gitlab CI job to update my demo .gif's every time I update my application; always ensures that things are up-to-date and provides gif/video recording that I've ran specific commands (perfect for auditors!)
-
Asciinema 3.0 will be rewritten in Rust
https://github.com/charmbracelet/vhs/blob/main/record.go#L22
I was looking at the code, and it seems like you could put a low value for this and it would do what you want.
I did not try it though
// sleepThreshold is the time at which if there has been no activity in the
-
Explaining SSH to my Uber Driver
I used Charm VHS to generate the last gif you saw. Very cool tool that allows you create & easily edit CLI-related demos.
- Asciinema: Record and share your terminal sessions, the simple way
-
mock chat transcripts in PNGs or animated images via commandline
Iām not fully understanding what you are searching for, but take a look at https://github.com/charmbracelet/vhs. You can script shell commands and record them.
-
How do you quickly browse the source of a flake input
Check out https://github.com/charmbracelet/vhs
-
Ask HN: What's the best (non-spammy) way to promote an open source tool?
Share it on relevant subreddits and make a gif out how to use it with https://github.com/charmbracelet/vhs
Projects with gifs on reddit get more attention.
Example: https://www.reddit.com/r/unixporn/comments/z0zm8x/oc_nap_a_c...
-
[Media] Namaka - Snapshot testing tool for Nix
It's vhs in case you are curious
-
Test your helix capabilities with a web based shortcut quiz
The animations are GIFs generated by a really awesome project called vhs (https://github.com/charmbracelet/vhs). I usually went with 'gg' but the recommended 'G' feels much cleaner for me.
tracing
-
Decrusting the tracing crate [video] by Jon Gjengset
The video description is as follows:
In this stream, we peel back the crust on the tracing crate ā https://github.com/tokio-rs/tracing/ ā and explore its interface, structure, and mechanisms. We talk about spans, events, their attributes and fields, and how to think about them in async code. We also dig into what subscribers are, how they pick up events, and how you can construct your own subscribers through the layer abstraction. For more details about tracing, see https://docs.rs/tracing/latest/tracing/.
-
Vendor lock-in is in the small details
> What's been your biggest issues around ergonomics/amenities for OpenTelemetry?
I can't speak generally, but in the Rust ecosystem the various crates don't play well together. Here's one example: <https://github.com/tokio-rs/tracing/issues/2648> There are four crates involved (tracing-attributes, tracing-opentelemetry, opentelemetry, and opentelemetry-datadog) and none of them fit properly into any of the others.
-
Grimoire - A recipe management application.
The tracing (logging) mechanism in an asynchronous codebase (tracing).
-
How easy is it to swap out your async runtime?
Tracing is Tokio's alternative for async code.
-
Hey Rustaceans! Got a question? Ask here (27/2023)!
At a technical level, in Rust, both [tracing]https://crates.io/crates/tracing) and log are entire ecosystems (though for the latter at least there's also third party logging frameworks), and there's at least a bridge from log to tracing.
-
How can I write a tracing subscriber that saves to a database?
I am using https://github.com/tokio-rs/tracing for logging purposes in my application. I would like to develop a feature wherein logs should be saved to a database table (via sea-orm). Something similar is this, but it does not solve my needs fully.
-
A locking war story
I've used the tracing infrastructure with tracing_flame to profile some hot paths in async code: https://github.com/tokio-rs/tracing/tree/master/tracing-flame
-
I was wrong about rust
Oh nice! IIRC when I checked, it was the Unicode tables that smashed the code size. I recently hit the same issue with the tracing crate, where a crate feature (for env var filtering) pulled in regex and my binary was suddenly 1MB bigger.
-
Debugging and profiling embedded applications.
I know about tools such as tracing, jaeger or tracy. While having a complete tracing could be a potential solution, these tools don't work with no_std.
-
Custom Axum Logging for Routes?
tracing by itself only outputs log data, you need to consume them in a subscriber, the tracing-subscriber crate exists for this. (example)
What are some alternatives?
asciinema - Terminal session recorder š¹
log4rs - A highly configurable logging framework for Rust
asciinema-player - Web player for terminal session recordings
slog - Structured, contextual, extensible, composable logging for Rust
terminalizer - š¦ Record your terminal and generate animated gif images or share a web player
env_logger - A logging implementation for `log` which is configured via an environment variable.
IOPaint - Image inpainting tool powered by SOTA AI Model. Remove any unwanted object, defect, people from your pictures or erase and replace(powered by stable diffusion) any thing on your pictures.
log - Logging implementation for Rust
agg - asciinema gif generator
opentelemetry-rust - The Rust OpenTelemetry implementation
yaft - yet another framebuffer terminal
vector - A high-performance observability data pipeline.