Luci development environment setup

Hi there, I'm new to OpenWrt development and want to create my own LuCI application. I'm curious about how experienced developers build their LuCI applications and what tools they use.

I have an OpenWrt system running in my VM, and I've read the official documentation. All I need to do is connect via SSH and add the LuCI application files.

I've been using vscode Remote-SSH for coding for a long time, it works very well. Unfortunately, it doesn't support OpenWrt. What SSH or SFTP tools do you use for developing LuCI apps? Any recommendations would be appreciated.

1 Like

windows + vscode + WinScp for file transfers, is a winning combo for me

2 Likes

I use either the containerized SDK or the standard one and run it in a toolbox (effectively containerized again). In the first instance mounting a volume to my local checked-out luci repo, and in the second just pointing the feeds to it using src-link. Depending on which projects you're building, containerized SDK can be hit and miss, especially if it's Node/Webpack-related. After building a project, I just scp the package to a device and then install it.

Edit: sorry, meant to reply to the first post and fat-fingered the wrong button.

3 Likes