stateroom
locenv
stateroom | locenv | |
---|---|---|
4 | 5 | |
134 | 9 | |
1.5% | - | |
5.0 | 0.0 | |
about 22 hours ago | over 1 year ago | |
Rust | 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.
stateroom
- Hey Rustaceans! Got a question? Ask here (12/2023)!
-
Launch HN: Drifting in Space (YC W22) – A server process for every user
In the case of containers it gets tricky because of how it interacts with the scheduler (e.g. if a node is idle but has a bunch of paused containers that could be unpaused at any time, the scheduler has to decide how to proceed), but I love the concept. It's something I've thought a bit about in a world where the server can be compiled to WebAssembly, because it's imaginable to suspend it and serialize the memory state so that it can be sent off to storage somewhere and pulled out when the next request comes in. This was actually part of the motivation behind a library I wrote called Stateroom (https://github.com/drifting-in-space/stateroom), which creates a stateful WebSocket server as a WebAssembly module, but I haven't yet implemented the ability to freeze the state of the module between requests.
-
Use Phoenix Channels
> "just drop it in and it just works" for self hosted websocket systems
I was also been underwhelmed by options in this area, so I've been working on a Rust library called Jamsocket[1]. The idea is that all you need to do is implement a trait, overload the functions for the events you want to handle (new connection, message, etc.) and deploy it.
I still need to work on production aspects of it, but it's in a state where you can play with it for local development, so I figured I'd share it here in case any Rust developers want to tinker with it.
[1] https://github.com/jamsocket/jamsocket
locenv
-
Hey Rustaceans! Got a question? Ask here (12/2023)!
Here is a PoC made by me: https://github.com/locenv/locenv/tree/main/crates/kami
-
Anyone interested in collaborating on making open source projects?
Or if you prefer to go straight to the code here is the repository :) https://github.com/locenv/locenv
-
locenv - A CLI to spin up services for development
Link to repository: https://github.com/locenv/locenv
-
easy to use Plugin API in rust?
It is depend on what you are trying to do. If the plugin don't need a direct access to the OS by themself WebAssembly might be a good choice. Currently I'm working on https://github.com/locenv/locenv but my project required a scripting, not the compiled code; and it also required the plugin to be able to direct access to the OS so I choose Lua as a scripting language and the plugin can be written in any languages that can output a shared library.
- What's everyone working on this week (26/2022)?
What are some alternatives?
spawner - Session backend orchestrator for ambitious browser-based apps. [Moved to: https://github.com/drifting-in-space/plane]
spacedrive - Spacedrive is an open source cross-platform file explorer, powered by a virtual distributed filesystem written in Rust.
falcon - Brushing and linking for big data
Envy - Envy. Multi P2P Filesharing+Bittorrent, Shareaza Legacy.
Sandstorm - Sandstorm is a self-hostable web productivity suite. It's implemented as a security-hardened web app package manager.
asammdf - a rust crate to parse and write ASAM MDF file.
bitque - A simplified Jira clone built with seed.rs and actix
kahuna - A Rust crate implementing the Wave Function Collapse algorithm for procedural generation
wasmer - 🚀 The leading Wasm Runtime supporting WASIX, WASI and Emscripten
open-questions - Want to contribute? These are difficult, long-term projects that could be valuable to open source investigators at Bellingcat and around the world.
lucet - Lucet, the Sandboxing WebAssembly Compiler.
stump - A free and open source comics, manga and digital book server with OPDS support (WIP)