poem
nodeBB
poem | nodeBB | |
---|---|---|
30 | 17 | |
3,219 | 13,920 | |
2.4% | 0.5% | |
8.8 | 9.9 | |
4 days ago | about 9 hours ago | |
Rust | JavaScript | |
Apache License 2.0 | GNU General Public License v3.0 only |
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.
nodeBB
-
Don't Use Discord as a Forum
> I'm a big fan of https://nodebb.org/
TIL to what shit Netgate moved pfSense forums to. I'm glad you are fine with it, but not only my FullHD monitor is not a smartphone, so I don't need 400% fonts on everything (and post dates on the faaaaar right clearly shows nobody ever even used the forum) and most importantly - search doesn't work. It's not like the previous forum had a good search, but at least it worked.
Bonus point: try to Ctrl+mousewheel on any NodeBB (including the official one).
-
Just remember forums exist
NodeBB
- What are the alternatives for Reddit?
-
Hey Guys, I'm an Open Source enthusiast. StackFoss.com is an open source StackOverFlow alternative, and what makes StackFoss awesome is Focus on open source and Ad-free.
You said it's based on. This means that there are modifications to the implementation of nodebb. So where is your modifications' source code then? stackfoss/stackfoss is just a single readme file
-
Some forum software written in Rust
Obviously forums aren't as popular as they used to be, so this topic might not be of interest to many. For folks that want to run a forum, they'd most certainly go with Discourse (Ruby), Flarum (PHP), Xenforo (PHP), NodeBB (Javascript), Nimforum (Nim) and maybe Casnode (Go)
-
The over-reliance on Discord is doing more harm than good.
If you want to make your own app out of custom code that you will actively develop new features for, I think your points are true. But if you just wanted a modern version of the old phpBB forums, there are plenty of almost-turnkey projects/templates you can use. Check out NodeBB for instance. Maybe the barrier for entry is higher in a way, given increased complexity, but you also get more and nicer features "for free". I think it's a wash.
-
Any Rust based forum software?
I was looking into actively maintained Rust based forum software similar to NodeBB (Node.js) or Discourse (Ruby on Rails) and Flaskbb (Python).
-
Apko: A Better Way To Build Containers?
package: name: nodebb version: 2.5.3 dependencies: runtime: - nodejs environment: contents: packages: - alpine-baselayout - ca-certificates-bundle - nodejs - npm - git pipeline: - uses: fetch with: uri: https://github.com/NodeBB/NodeBB/archive/refs/tags/v${{package.version}}.tar.gz expected-sha256: 92e390d7cda190e7f098833cbbbf03fbe1c50f25653656ad589ae97dc18a7684 strip-components: 0 - runs: | mkdir -p "${{targets.destdir}}/usr/share/nodebb" cd NodeBB-${{package.version}} cp install/package.json . npm install --omit=dev cp -a ./. "${{targets.destdir}}/usr/share/nodebb"
- NodeBB - Node.js based forum software built for the modern web
- Node.js based forum software built for the modern web
What are some alternatives?
axum - Ergonomic and modular web framework built with Tokio, Tower, and Hyper
Discourse - A platform for community discussion. Free, open, simple.
Rocket - A web framework for Rust.
Flarum - Simple forum software for building great communities.
jelly-actix-web-starter - A starter template for actix-web projects that feels very Django-esque. Avoid the boring stuff and move faster.
phpBB - phpBB Development: phpBB is a popular open-source bulletin board written in PHP. This repository also contains the history of version 2.
async-graphql - A GraphQL server library implemented in Rust
MyBB - MyBB is a free and open source forum software.
okapi - OpenAPI (AKA Swagger) document generation for Rust projects
flaskbb - A classic Forum Software in Python using Flask.
actix-web - Actix Web is a powerful, pragmatic, and extremely fast web framework for Rust.
Talkyard - A community discussion platform: Brings together the main features from StackOverflow, Slack, Discourse, Reddit, and Disqus blog comments.