poem
Lemmy
poem | Lemmy | |
---|---|---|
30 | 1,603 | |
3,219 | 12,815 | |
2.4% | 0.6% | |
8.8 | 9.8 | |
4 days ago | about 9 hours ago | |
Rust | Rust | |
Apache License 2.0 | GNU Affero General Public License v3.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.
poem
-
Write OpenAPI with TypeSpec
TypeSpec is great, but if you're working with Rust and you're about to write a new project that will require an OpenApi spec sooner or later, I'd like to recommend a web framework that has spec generation baked in:
https://github.com/poem-web/poem (see poem_openapi)
All you need to do is derive a trait on your response structs and in return you get an almost perfectly generated spec. Unions, objects, enums are first class citizens.
Also, if you're from coming from PHP, the controllers feel very much like symfony controllers.
P.s. Please do recommend an ORM that would feel closer to doctrine. I miss doctrine.
-
What is the best API generator for Axum?
I've used FastAPI/Pydantic before as well and it was a very good experience. It has been a while since I used them though, so I forget exactly how they compare, but I do recall it wrote most of the OpenAPI spec. for you. I will also agree when I saw utoipa and aide they seemed to require more boilerplate even though I have not done an actual comparison. Poem, on the other hand, seems very neat and clean and doesn't have any duplication that I can see. Here is the [TODO example](https://github.com/poem-web/poem/blob/master/examples/openapi/todos/src/main.rs).
-
Looking for a Rust API with automatic documentation and good validation?
The example at https://github.com/poem-web/poem/tree/master/examples/openapi/auth-apikey works without issues for me.
-
What library to use for a Websocket Server?
'Poem', it turns to nicer to play with for me than 'Axum'. Example of web socket chat https://github.com/poem-web/poem/blob/master/examples/poem/websocket-chat/src/main.rs
-
Rest API framework in rust
If you need built-in OpenAPI support, I can recommend Poem.
-
(Recommendation Request) Rust REST API framework; similar to Python's FastAPI(Python)
If OpenAPI is important, then you may to consider https://github.com/poem-web/poem instead of axum. It isn't nearly as widely used, but it should still be compatible with everything else.
-
Hey Rustaceans! Got a question? Ask here (3/2023)!
Poem: More rigid and less popular and aims to be easier https://github.com/poem-web/poem
-
A taste of pavex, an upcoming Rust web framework
Did you check out Poem? It seems promising, with openapi generation built in already.
-
I switch from Golang and want to build a REST API in Rust.
https://github.com/poem-web/poem is a pretty nice framework
-
Migrating from warp to axum
I recently been working with warp and stumbled upon poem framework (https://github.com/poem-web/poem), any thoughts about that? Considering Axum as well but staying a bit on cautionary side until 0.6 full release.
Lemmy
-
Reddit must share IP addresses of piracy-discussing users, film studios say
Lemmy is like Reddit and here because it has threaded comment discussions.
It's also federated, so you can pick a server you like and have discussions with users from various servers together.
https://join-lemmy.org/
Some Reddit apps switched to supporting Lemmy instead when they were kicked off the API.
-
Decentralized Hacker News
Seems functionally similar to Lemmy: https://github.com/LemmyNet/lemmy
- Garbage ce Reddit - Plein de bugs. Pas convivial pour 5 cents.
- Recap, An-Cap and getting sick of reddit
- Join us over at Lemmy! It's FOSS, decentralized, and fairly solid!
-
Nerdfighters Lemmy community?
There was some talk back in June of migrating or setting up a parallel community on Lemmy. Did anything ever come of that? If not, would anyone be interested in helping set one up?
-
Show HN: Fediverser Portal. Bring your subreddits to Lemmy
Because they are all different deployments of Lemmy [0]?
[0] https://join-lemmy.org
-
Solarpunk "pod / cell" system
Local servers (dietpi, Freedombox, YUNoHost or similar solutions) which can be used to host different solarpunk content and setup instances on the fediverse (like peertube, mastodon, Lemmy etc.)
-
Show HN: AI News – Dedicated news site for AI developers
The entire page is based on Lemmy (https://join-lemmy.org/).
I disabled a ton of features and interface parts, as IMO the original lemmy interface is super noisy.
Runs on bare-metal with docker-compose. For the facelift, just good old CSS :)
-
⟳ 4 apps added, 121 updated at f-droid.org
Jerboa for Lemmy (version 0.0.46): An app for Lemmy, a federated reddit alternative.
What are some alternatives?
axum - Ergonomic and modular web framework built with Tokio, Tower, and Hyper
kbin - A reddit-like content aggregator and micro-blogging platform for the fediverse.
Rocket - A web framework for Rust.
Mastodon - Your self-hosted, globally interconnected microblogging community
jelly-actix-web-starter - A starter template for actix-web projects that feels very Django-esque. Avoid the boring stuff and move faster.
tildes - GitHub mirror of the Tildes source - official location is https://gitlab.com/tildes/tildes/
async-graphql - A GraphQL server library implemented in Rust
Reddit-Enhancement-Suite - Reddit Enhancement Suite
okapi - OpenAPI (AKA Swagger) document generation for Rust projects
actix-web - Actix Web is a powerful, pragmatic, and extremely fast web framework for Rust.
Discourse - A platform for community discussion. Free, open, simple.