Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

design the interface to allow web application or any of this to run coffe as server #59

Closed
vincenzopalazzo opened this issue Mar 7, 2023 · 2 comments
Assignees
Labels
❤️ - SoB Summer of Bitcoin Project P-hight Hight Priotity issue

Comments

@vincenzopalazzo
Copy link
Contributor

vincenzopalazzo commented Mar 7, 2023

Background

To run Coffe you are run the following command cargo run -- --help and you can run the following command to setup coffee for your core lightning node

cargo run -- setup <core lightning root path>
cargo run -- remote add lightningd https://github.com/lightningd/plugins.git
cargo run -- install <plugin_name>

but by looking inside the core lightning ElementsProject/lightning#5833 there is a need to use
core lightning with some kind of server or just move the UI as a plugin.

In this case, I would like to ship both and then deprecate the one that the people are not using (I assume the plugin one, because to me looks a little bit confusing at the moment)

Pre-Goal

This is an additional SoB that required downgrading one of the previous ones, and for this one, the requirements are designed and email me to discuss the proposal for #42 and then implement it as pre-SoB

While you are implementing the pre-SoB you need also to think about how the proposal of this project looks like

Goal

The goal is to implement a web server crate coffe_httpd that supports the following feature:

  • HTTP request to run commands like install
  • Some ws event stream to receive real-time updates while the installation is running (this allow also async updates from the UI)) on a possible protocol that we can try to use is graphql that has a standard for it
@tareknaser
Copy link
Collaborator

Implemented over some PRs. Latest of which is #175
Only thing missing is the authentication method but we have a separate issue for that #179

@vincenzopalazzo vincenzopalazzo added the P-hight Hight Priotity issue label Jul 30, 2023
@vincenzopalazzo
Copy link
Contributor Author

This is completed by @tareknaser this summar

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
❤️ - SoB Summer of Bitcoin Project P-hight Hight Priotity issue
Projects
None yet
Development

No branches or pull requests

2 participants