evgenyigumnov / rustsn

Code snippets generator via LLMs and compiler/tester via build tools
GNU General Public License v3.0
18 stars 5 forks source link

Adding a web interface (UI) #22

Open rizgan opened 1 day ago

rizgan commented 1 day ago

UI displays the main functionality

  1. Text area with question field to generate function and "Generate code for me" button
  2. Real time display log of progress generation
  3. Display list of generated files with abilty to view each file 

How to launch web ui

rustsn —serve —host==127.0.0.1 —port=8080

If the last two parameters are not specified, the port and host are set by default

Library for use:

  1. https://crates.io/crates/axum for web server and rest api
  2. https://angular.dev/ for fronted - if you do not like it, just propose yours