Coder Social home page Coder Social logo

Comments (4)

juanfont avatar juanfont commented on July 24, 2024 1

@sim-san sorry to hear that. Will close the issue now.

from headscale.

juanfont avatar juanfont commented on July 24, 2024

Hey @sim-san,

Sounds good to me. Although I reckon at some point you will need some kind of internal API provided by headscale.

@kradalby any thoughts on this?

from headscale.

kradalby avatar kradalby commented on July 24, 2024

A webui would be neat, however I think we would benefit from a bit of a refactoring before that work is started.

We currently have a CLI tool that talks directly to the database and sometimes communicates by having the serve mode watching database tables. What we probably should to, to make it easier to use the CLI tool on another computer, and to avoid update and state issues in the database because the CLI changed something the server has loaded.

Doing that work, which is making an API that the CLI uses, forcing us to implement an API for all of the CLI, we should have a suitable API for a webui.

I think that we should bite the learning curve and use protobuf and gRPC to design and generate the client/server code for the CLI, and then use something like https://github.com/grpc-ecosystem/grpc-gateway to make a JSON API out of it.

This way we should also be able to generate a lot of the code for a webui for interacting with the API.

This is quite an undertaking, and I was hoping to start playing around with it at some point.

Feedback on the approach is welcome.

from headscale.

sim-san avatar sim-san commented on July 24, 2024

Due to personal circumstances I will not be able to work on it in the future

from headscale.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.