poem
Warp
Our great sponsors
poem | Warp | |
---|---|---|
30 | 58 | |
3,200 | 18,811 | |
3.8% | 6.8% | |
8.8 | 7.4 | |
5 days ago | 1 day ago | |
Rust | ||
Apache License 2.0 | GNU General Public License v3.0 or later |
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.
Warp
-
Warp VS Wave Terminal - a user suggested alternative
2 projects | 3 Apr 2024
- Fig Is Sunsetting
-
Linux version of Warp terminal is here
I'm trying out Warp for the first time, and an immediate accessibility issue for me is that the text is simply too small to read for a lot of the UI elements (context menu, side bar, tab bar…). The size should be configurable for all of the elements, not just the terminal view. I think I would also be fine with a setting that just scales the whole UI.
I did notice there is an issue for it already: https://github.com/warpdotdev/Warp/issues/1443
- The New Terminal (Beta) Is Now in JetBrains IDEs
-
How To Change Your Zoom Background With Code
Warp is a Rust-based terminal with AI built in. I like it because it has things like autocompletions, history search, click-to-edit, and theming out-of-the-box. Feels super modern. And if you do want to try it out, use my referral link & get a free theme!)
-
OpenAI Whisper: Transcribe in the Terminal for free
Unless you want to type this every day, I’d recommend creating an alias. In my case, I’m using Warp, so I’ll right-click the command and choose Save as Workflow to save my script as a workflow. Warp AI will even help me autofill the title and description and detect variables.
-
Keystroke timing obfuscation added to SSH(1)
This makes me wonder about newer terminal emulators on maccOS like Warp[1], and if they're for example taking all input locally, and then sending it over the remote host in a single blob or not? I imagine doing so would possibly break any sort of raw-mode input being done on remote host but I'd also imagine that is a detectable situation in which you could switch into a raw keystroke feed as well.
[1]: https://warp.dev
- How Warp's terminal app brings new ideas, AI to the command line
-
AI tools for productivity
Warp - GPT in the terminal - very helpful for debugging
-
Does anyone try the new terminal emulator Warp with Neovim?
You're right, I just found the discussion there (and it's the longest one currently). For now, I just run tmux inside the emulator.
What are some alternatives?
axum - Ergonomic and modular web framework built with Tokio, Tower, and Hyper
alacritty - A cross-platform, OpenGL terminal emulator.
Rocket - A web framework for Rust.
zsh-autocomplete - 🤖 Real-time type-ahead completion for Zsh. Asynchronous find-as-you-type autocompletion.
jelly-actix-web-starter - A starter template for actix-web projects that feels very Django-esque. Avoid the boring stuff and move faster.
hyperterm - A terminal built on web technologies
async-graphql - A GraphQL server library implemented in Rust
hyper - An HTTP library for Rust
okapi - OpenAPI (AKA Swagger) document generation for Rust projects
kitty - Cross-platform, fast, feature-rich, GPU based terminal
actix-web - Actix Web is a powerful, pragmatic, and extremely fast web framework for Rust.
wezterm - A GPU-accelerated cross-platform terminal emulator and multiplexer written by @wez and implemented in Rust