live-reloading-rs
bat
live-reloading-rs | bat | |
---|---|---|
2 | 195 | |
89 | 46,630 | |
- | - | |
0.0 | 9.5 | |
over 3 years ago | 5 days ago | |
Rust | Rust | |
- | Apache License 2.0 |
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.
live-reloading-rs
-
Paradox of the Perfect Code Editor
Yes https://fasterthanli.me/articles/so-you-want-to-live-reload-... (discussed here https://www.reddit.com/r/rust/comments/j0ajdy/so_you_want_to...)
And then there's this crate https://docs.rs/live-reload/0.2.0/live_reload/ which works on the same principles as the article above, and is based on C code (i.e. the same approach works for C).
There's a bunch of other libraries that work the same way, and some example code that can do this. I can find https://github.com/irh/rust-hot-reloading and https://github.com/porglezomp-misc/live-reloading-rs and https://github.com/xixixao/hot-reload-rs
And then there's https://github.com/emoon/dynamic_reload which is perhaps better?
And there's https://github.com/draivin/rust-hotswap which has a nice API but uses a deprecated rustc internal API doesn't build anymore.
Anyway there was a library that did this in a more elegant way and I just can't find it (perhaps it was rust-hotswap anyway).
-
Splitting build destination for exact files in Rust project
I have pretty weird question. I am trying to use crate live reload. To understand how it works I cloned demo project, but I have problems understanding how it works. From what I understand lib.rs file should be built to libreloadable.dylib but it doesn't in fact I don't even know if it's possible to build part of project to dynamic library and other files(main.rs etc.) to executable. Cloned demo project doesn't work for me it panicks on loading the library. I feel pretty lost. Can you please tell me how it works and how project should be structured to support such thing?
bat
-
Hired: A Modern Take on 'Ed'
That’s the same as bat:[1] one of the features is syntax highlighting. Kind of unexpected to find a concatenation program… which also does that.
[1] https://github.com/sharkdp/bat
-
Essential Command Line Tools for Developers
View on GitHub
-
5 Developer CLI Essentials
4. bat
-
Ugrep – a more powerful, ultra fast, user-friendly, compatible grep
Good find, thanks! I'll check if I prefer it to moar.
As for bat, according to https://github.com/sharkdp/bat#using-bat-on-windows, the Chocolatey package simply installs `less` alongside `bat`. Seems like a good idea, but I haven't tried it.
- Tell HN: My Favorite Tools
-
MacOS tools to make your life easier
Try bat (it’s like cat but better) https://github.com/sharkdp/bat
- Bat: A cat clone for syntax highlighting in the terminal
-
🐚🦀Comandos shell reescritos em Rust
bat
-
Tell HN: Please don't print –help to stderr in your CLI tools
For this reason I have a zsh function in my .zshrc with bat (which pages by default, if it's longer than your console height):
https://github.com/sharkdp/bat#highlighting---help-messages
# in your .bashrc/.zshrc/*rc
- Bat: A Cat Clone with Wings
What are some alternatives?
tauri - Build smaller, faster, and more secure desktop applications with a web frontend.
vim-colors-solarized - precision colorscheme for the vim text editor
alacritty - A cross-platform, OpenGL terminal emulator.
exa - A modern replacement for ‘ls’.
rust-hotswap - Easily hotswap functions in running executables
awesome-zsh-plugins - A collection of ZSH frameworks, plugins, themes and tutorials.
hot-reload-rs - Example of hot reloading for minifb using shared memory
iTerm2-Color-Schemes - Over 250 terminal color schemes/themes for iTerm/iTerm2. Includes ports to Terminal, Konsole, PuTTY, Xresources, XRDB, Remmina, Termite, XFCE, Tilda, FreeBSD VT, Terminator, Kitty, MobaXterm, LXTerminal, Microsoft's Windows Terminal, Visual Studio, Alacritty
rust-hot-reloading - A minimal example of hot-reloading of libraries in Rust
fzf - :cherry_blossom: A command-line fuzzy finder
ihp - 🔥 The fastest way to build type safe web apps. IHP is a new batteries-included web framework optimized for longterm productivity and programmer happiness
glow - Render markdown on the CLI, with pizzazz! 💅🏻