notify
mvp
notify | mvp | |
---|---|---|
10 | 18 | |
2,522 | 4,875 | |
2.2% | - | |
8.0 | 5.4 | |
4 days ago | about 1 month ago | |
Rust | HTML | |
GNU General Public License v3.0 or later | 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.
notify
-
Needing Additional Inputs on an Implementation of an Asset Manager with Hot Reloading Support
To support hot reloading, the asset manager definitely has to have some watcher thread, but I have that part dealt with already since I have decided to utilize notify. The other half is to find a way to reload all assets that have changes as determined by the watcher thread. What I am not sure about is how to implement this in a Rustic fashion and with clean architecture while also considering the fact that asset pointers may be held by other objects (such as an object representing an OpenGL program object).
-
FIM v0.4.6 - Realtime File monitoring tool
It is a great question. We have based the development on a library called notify, kudos to https://github.com/notify-rs/notify. This library adds a layer of abstraction to each system. It implements kernel-specific hooks as you mentioned. In some cases like Audit extended data, we have developed an integration that detects changes on the Audit log file and processes the given information including a lot of information into Linux systems. We have plans to include it in Windows as well.
-
Building a static site generator in 100 lines of Rust
In order to detect files changes, we use hotwatch, a simple wrapper over notify that will allow us to save a few lines.
- Let Rust detect changes in the Markdown file and generate HTML.
-
Track what process modify file
The notify crate uses the inotify API on Linux. However, it's probably not what you want, since one of its limitations is:
-
Hey Rustaceans! Got an easy question? Ask here (48/2021)!
If you want to build this yourself, you'll want to build on something like notify - there are libraries like linemux built on top of it that will do a lot of this for you too.
-
Async file watcher, like notify-rs
Hey rust community, I'm currently writing a small app using Tokio, but running into a problem when trying to add a file watcher to it. I looked into available crates and found https://github.com/notify-rs/notify to be a good option, though it only exposes a sync interface.
-
Effectively monitoring very large number of files
I'm most well versed in Python so I started with that and eventually ended up with a POC using watchdog, but the program took more than a day and a half to traverse everything and register all of the watches. I've been trying to learn Rust for a while, and decided to perhaps use this as an excuse to try something 'real' and not just a learning exercise. I found the notify crate (https://github.com/notify-rs/notify) and basically copied their example listed on their GitHub, but even this takes about 16-18 hours to place all the watches before it starts processing events. I did not see any obvious ways to enable asynchronous or async/await code in notify, so I don't know of a way to parallelize the disk I/O with this approach.
-
Proper way of reading a constantly mutating file?
The notify crate is probably what you're looking for. It uses inotify on linux by default.
- Notify: Cross-platform filesystem notification library for Rust
mvp
-
Ask HN: I'm bad at design, which stops me from finishing side projects. Advice?
Buy a bootstrap theme, they're cheap and they offer a lot out of the box. Better solution than bare tailwind, which actually requires you to know how to design. I used tailwind on my personal website, result was good but I had to do a lot more than if I used a bootstrap theme.
You make your app ui work within the boundaries of your bootstrap theme and you're good for 96% of the design stuff.
If you don't want to even learn bootstrap css classes and stuff, consider https://andybrewer.github.io/mvp/
It's amazing, you drop it and you have a theme based on the html only. I use this mostly for prototyping though
- Show HN: Lissom.CSS, a classless, minimalist, and themeable CSS library
-
Classless.css â Less Classes. Less Overhead
Like the previous submitter ( https://news.ycombinator.com/item?id=30885700 April 2022 ) I found clasless.css while investigating semantic html-oriented css libraries and this one stood out to me as having a good balance. I'm not ideologically opposed to using classes, but using them for every bit of styling seems off and I'd rather see good default styles for regular semantically structured html. For example, classless.css uses the "card" class for cards which don't have a clear analog in among standard html tags: https://developer.mozilla.org/en-US/docs/Web/HTML/Element
Other libraries:
Water.css: https://watercss.kognise.dev/
MVP.css: https://andybrewer.github.io/mvp/
Missing.css: https://missing.style/
-
Show HN: Neat, the Minimalist CSS Framework
i collect these for fun! adding to my collection https://github.com/sw-yx/spark-joy/blob/master/README.md#dro...
more like this:
- https://andybrewer.github.io/mvp/ mvp.css
-
Paizo: The ORC Alliance Grows
On a side note, you can throw something like water.css , tacit, or MVP.css for quick and easy styling and you just focus on the HTML.
-
TIL: Audio Buffers, Remix, CSS
Since this tool was just for testing, I wanted a simple CSS solution so that I didn't have to focus on styling. I went with MVP.css and Tailwind for small tweaks. It worked really well, but in the future, I'd like to take a look at Pico.css, which I just learned about from this Fireship video.
-
Ask HN: How to build online calculator website?
You could pay a front end dev to use a preexisting template.
Or, you could Google âclassless CSSâ, if youâre OK writing some HTML.
I made a plug and play CSS library here for those that donât want to write CSS: https://github.com/andybrewer/mvp
- Show HN: Bolt.css â Another classless CSS library
- [TREAD] Il existe 1 980 000 000 de sites Web sur Internet dans le monde. Mais seule une fraction dâentre eux peut vous aider Ă devenir un meilleur dĂ©veloppeur Web et Ă accĂ©lĂ©rer votre travail. Voici 10 sites qui valent la peine dâĂȘtre connus đ
- â 58 bytes of CSS to look great nearly everywhereâ mkws theme
What are some alternatives?
rust-fuse - Rust library for filesystems in userspace (FUSE)
pico - Minimal CSS Framework for semantic HTML
fd - A simple, fast and user-friendly alternative to 'find'
modern-normalize - đ Normalize browsers' default style
linemux - Asynchronous tailing library in Rust
classless-css - A list of classless CSS themes/frameworks with screenshots
redbpf - Rust library for building and running BPF/eBPF modules
sakura - :cherry_blossom: a minimal css framework/theme.
path_abs - ergonomic paths and files in rust
Pure - A set of small, responsive CSS modules that you can use in every web project.
dutree - a tool to analyze file system usage written in Rust
Milligram - A minimalist CSS framework.