Git Product home page Git Product logo

Comments (8)

dvc94ch avatar dvc94ch commented on May 19, 2024 1

It's how the go and js cli interfaces work. You start the daemon and communicate through the http api. The cli talking to the api is already implemented, we just need to implement the other end.

from rust-ipfs.

adamski avatar adamski commented on May 19, 2024

Are you suggesting using that library to talk to a local node instead of a remote one?

from rust-ipfs.

adamski avatar adamski commented on May 19, 2024

Ok, so probably using https://hyper.rs? I see that is also used in rust-ipfs-api

from rust-ipfs.

adamski avatar adamski commented on May 19, 2024

For reference, this looks like the spec that needs implementing: https://ipfs.docs.apiary.io

from rust-ipfs.

gnunicorn avatar gnunicorn commented on May 19, 2024

Ok, so probably using https://hyper.rs? I see that is also used in rust-ipfs-api

Or actix-web. They also have actix-web-support. I personally would prefer us using actix-web-server-side, too.

from rust-ipfs.

dvc94ch avatar dvc94ch commented on May 19, 2024

Or tower-rs. But I don't have a strong opinion.

from rust-ipfs.

koivunej avatar koivunej commented on May 19, 2024

warp seems like a good choice for this but may lag behind any tokio 0.2 or std::futures migration. There seems to have been already a gateway server attempt in https://github.com/dvc94ch/rust-ipfs/pull/28 ... I wonder why that one was closed? I understand gateway was probably different from a an http api but the question still stands.

from rust-ipfs.

aphelionz avatar aphelionz commented on May 19, 2024

Work has begin on this using warp and this ticket might now be duplicated by #60 . Should we close this one for now?

from rust-ipfs.

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.