A web UI for generating code for DSDL via Nunavut.
Nunaweb makes it easy to generate code for DSDL namespaces from the web. Simply upload your namespaces as .zip archives (or provide a remote link) and hit Submit. The web UI will display the commands needed to generate the code with the specified settings, and then compile your namespaces into the specified target language.
The application is deployed to production at https://nunaweb.opencyphal.org.
Nunaweb uses Vue/Nuxt.js on the frontend and Flask on the backend. It uses Nunavut to generate code.
Clone the repository to get started.
cd
into the nunaweb/
directory (which contains the frontend) and
run npm install
. From there, you can run npm run dev
to start a
development server.
Because the backend requires several services to be running, we've simplified startup with a docker-compose file.
- Install Docker or a compatible container runtime.
- Install Docker-Compose.
- Install requirements locally with
pip3 install -r requirements.txt
. - Spin up the backend server with
docker-compose up
(make sure you add your user to thedocker
group; otherwise you may have to use sudo.)
You should now have a development environment set up.
Interested in contributing? You can file issues for bug fixes and improvements or submit PRs to improve the code.