devrc
mask
Our great sponsors
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.
devrc
-
Automate your Python project with Makefile (2021)
I have been using Makefile for over 10 years in all of my projects, and here are some features I've always found lacking in Makefile:
1. There is no way to display documentation for commands and accepted parameters. Yes, you can write a special task that will display comments, but you have to copy it from project to project.
2. The need to pass named parameters when calling tasks. I want to write `make serve localhost 3000` instead of `make serve bind=localhost port=3000`
3. I've always had the need in different projects to use the same commands, so I had to copy tasks from project to project. I need a central place with commands that I can apply to any project.
4. The ability to write tasks in different languages. In some cases, it's easier to write in Python or TypeScript/Deno.
5. And most importantly, it is difficult to write commands in Makefile that can be used in different environments. For example, I need to run commands on different groups of servers: production and staging. This could look like: `make production TASK1 TASK2` or `make stage TASK1 TASK2`. In other words, the production/stage task sets up the parameters for executing tasks in a specific environment. It might be possible to call commands in this way with Makefile, but it seems too complicated.
As a result, I decided to write my own utility for task automation: https://github.com/devrc-hub/devrc
It solves all of the above problems and has other interesting features and also written in Rust .
- devrc: Task automation tool with embedded Deno runtime for developers written in Rust
- Task automation tool with embedded Deno runtime for developers written in Rust
- Show HN: Task automation tool with Deno runtime for developers written in Rust
-
devrc: task automation tool for developers written in Rust
I create some examples with loops and filters:
- Show HN: Task Automation Tool for Developers
mask
- Mask – A CLI task runner defined by a simple Markdown file
-
How to improve my Rust workflow?
Another alternative I'll add is my mask CLI tool. It reads a markdown file and parses it for a command structure. Markdown code blocks are used to define bash/zsh/python/ruby/node scripts all within a single file.
-
anyone using rust in production? what do you do?
I also build and maintain a Rust-based CLI tool called mask. While this doesn't run in production, it powers everything from my local development workflow to my CI and production deployment flow.
- Rust Is for Professionals
-
My Latest Side Project: Modal File Manager
It is a new project that is currently in Alpha stage. You can download from my GitHub account and play with it. It is built using Svelte, Nw.js, and mask script running.
-
Rust Foundation: Hello, World
I mentioned elsewhere in this thread that I built a jigsaw puzzle website [1] with a Rust API backend and I launched it last week. It definitely took longer than if I had used Node, but I enjoy working with Rust much more.
Apart from that website, I have also open sourced a Rust CLI task runner [2] which uses markdown files as a command definition format. This is probably the most important tool I've ever written, as I have used it every single day since.
[1]: https://puzzlepanda.com
[2]: https://github.com/jakedeichert/mask
-
Controling your Computer from a Phone
At the top level, there are three things: the server directory, the UI directory, and a maskfile.md file for using mask. Mask is a great tool for running scripts on your project. I use it all the time.
What are some alternatives?
rab - Rusty Armor Builds - Monster Hunter Rise Armor Set Creation Tool
regex - An implementation of regular expressions for Rust. This implementation uses finite automata and guarantees linear time matching on all inputs.
just - 🤖 Just a command runner
hyperscan - High-performance regular expression matching library
cargo-make - Rust task runner and build tool.
xtensa-rust-quickstart - A demo crate for the xtensa uC's (ESP32, ESP8266)
move-links - CLI utility to move (or rename) your files to a new location and redirect all of its symbolic links, to the new path
fsharp-formatting-conventions - G-Research F# code formatting guidelines
erdtree - A modern, cross-platform, multi-threaded, and general purpose filesystem and disk-usage utility that is aware of .gitignore and hidden file rules.
wasm-astar - 👾 Rust WebAssembly A* Pathfinding Demo
Nake - Magic script-based C# task runner for .NET Core
foundation.rust-lang.org - website for Rust Foundation