Hello everyone,
I developed a package to allow login in LuCI through OIDC (allowing passwordless logins) using mostly ucode and a bit of C. While I was doing this I realized that there aren't many dev tools and I was hand-writing simple versions for my project only. I've extracted those to their own repos:
utest: A modern, non-invasive testing framework for ucode, OpenWrt's scripting language
tree-sitter-ucode: Tree-sitter grammar for ucode, the ECMAScript-like scripting language used in OpenWrt
ucode-lint: Static linter for ucode, the OpenWrt scripting language
These are still in early days, but they are functional. I even forked and wrote tests for firewall4 using utest, as a proof of concept. The tree sitter grammar can be used to add syntax highlight in neovim and vscode.
I would love to hear from package developers what they think about the tools; any feedback is greatly appreciated ![]()