shuttle
Lean and Mean Docker containers
shuttle | Lean and Mean Docker containers | |
---|---|---|
57 | 38 | |
5,559 | 18,194 | |
3.8% | 1.5% | |
9.7 | 9.0 | |
8 days ago | 6 days ago | |
Rust | Go | |
Apache License 2.0 | Apache License 2.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.
shuttle
-
Prodzilla: From Zero to Prod with Rust and Shuttle
Moreover, I especially like where Rust is right now in the web space. It really feels like there’s a lot of smart people working on the next generation of web development tools - it feels like the place to be. There are a range of great open-source web dev tools that are just reaching critical levels of maturity. Axum, which I used to build Prodzilla, feels ready for out of the box web dev, and is crazy-performant, as I write about later. More recently available is Loco, a Rails-like framework for building web applications in Rust that's picking up steam. And in dev-tooling and hosting there’s Shuttle, a 1-line hosting solution for Rust backends.
-
Getting Started with CLI tools in Rust using Clap
cargo-shuttle is Shuttle's own CLI for interacting with the Shuttle platform. Within the src folder, you will be able to get a better sense of how you can organise your folders/files for a larger CLI project for a live service. There is also use of async here with tokio, so if you're interested in learning how to get started with using clap with async services (for example setting up an async client for a database service), this would be a perfect opportunity to learn to do so!
-
A guide to getting started with Axum - 0.7 changes included
https://github.com/shuttle-hq/shuttle/tree/main/services/shuttle-axum https://docs.rs/shuttle-axum/0.34.1/src/shuttle_axum/lib.rs.html#1-78
- Show HN: Shuttle – Build and ship backends without writing infrastructure files
-
Show HN: Shuttle – Build Back Ends Fast
It would be great if there are some kind of code snippet on the README that really demonstrate the "ship backends without writing infra" feature that I think is one of the unique feature of shuttle. I remember seeing one on the official website (https://shuttle.rs) that left me impressed.
-
Get your project featured at EuroRust
Shuttle is currently accepting entries for a competition, with the best projects being featured at our booth at the [EuroRust](eurorust.eu/) conference this year.
-
Best way to deploy a Rust backend?
Reading here https://shuttle.rs may be nice to try for the future.
-
Rust for Javascript Developers: Building apps that utilize LLMs
At Shuttle, we've teamed up again with Stefan Baumgartner, the organizer of Rust Linz and author of 'Typescript in 50 lessons', to host a free workshop titled "Rust for Javascript Developers: Building apps that utilize LLMs".
-
Contributing to Open Source
The community being built at https://shuttle.rs is extremely open and welcoming. I’ve yet to do anything on the main code base, but I’ve helped with the docs.
-
Shuttle Launchpad - learn Rust by building real-world applications, in bite-sized chunks
At Shuttle we’ve teamed up with Stefan Baumgartner, the organizer of Rust Linz, to create a newsletter series that takes a slightly different approach towards learning Rust.
Lean and Mean Docker containers
-
Is updating software in Docker containers useful?
And if you want to make the container quickly secure without bloats, maybe give this a try https://github.com/slimtoolkit/slim
-
An Overview of Kubernetes Security Projects at KubeCon Europe 2023
Slim.ai presents the data in a more user friendly way than many of the other tools in this post. On top of its open source SlimToolkit for identifying the contents of an image, Slim.ai uses Trivy for vulnerability scanning.
-
Tips for reducing Docker image size
What about https://github.com/slimtoolkit/slim?
-
package a poetry project in a docker container for production
A last practice that I do not use at all and which may interest you is to use slim toolkit to keep only the useful elements in your final image.
-
Standard container sizes
Anyone tried using https://github.com/docker-slim/docker-slim To minify an image?..
- DockerSlim - Optimize Your Containerized App Dev Experience. Better, Smaller, Faster, and More Secure Containers Doing Less! Minify Docker Images by up to 30x.
- A practical approach to structuring Golang applications
- How to optimize docker image size?
-
M1: Docker doesn't find shared x64 shared objects even though platform was specified
Distroless images are better left for people with serious need for lightweight images and good Linux knowledge because they require lot of planning with the build so that they stay light and work. If you need lighter images but docker isn't your main tool and you can't afford to take hours and hours of practicing different build strategies you can check docker-slim (https://dockersl.im/). With this tool you can easily size down the images.
-
I deleted 78% of my Redis container and it still works
Maybe this would help in that regard: https://github.com/docker-slim/docker-slim
What are some alternatives?
axum-aws-lambda - Seamlessly use Axum on AWS Lambda
minideb - A small image based on Debian designed for use in containers
Hentoid - Doujinshi Android App
Go random string generator - Flexible and customizable random string generator
pocketbase - Open Source realtime backend in 1 file
pipx - Install and Run Python Applications in Isolated Environments
wasmCloud - wasmCloud allows for simple, secure, distributed application development using WebAssembly components and capability providers.
dive - A tool for exploring each layer in a docker image
n8n - Free and source-available fair-code licensed workflow automation tool. Easily automate tasks across different services.
gophish - Open-Source Phishing Toolkit
pack - CLI for building apps using Cloud Native Buildpacks
simple-scrypt - A convenience library for generating, comparing and inspecting password hashes using the scrypt KDF in Go 🔑