AntTP - Serving Autonomi data over HTTP

I updated my publicly accessible ANTTP with the new docker image. It seems moderately faster than it was before.

4 Likes

Hey my man! Does your streaming system stop people from directly downloading and copying the streamed content?

2 Likes

No, not at all - to the user, it just feels faster. Everything else looks the same from the client, really.

3 Likes

I’m asking if your streaming system can prevent easy copying. Can it defeat screen capturing.

No, it isn’t designed to prevent copying. The client receives the same data.

From the client’s perspective, the data just arrives in smaller pieces (sooner), rather than all at once (later).

Note that it implements standard HTTP protocol features to achieve this. The solution isn’t proprietary and is intended to be open.

7 Likes

I’ve (finally) published AntTP to crates.io here: crates.io: Rust Package Registry

So, you can now do cargo install anttp to build and install the AntTP.

If you’re a developer, you should also be able to pull in anttp as a dependency now too. Be warned, I’ve done little/no preparation as to what to expose in this usage though. I plan to make it more ‘library friendly’ in the future though.

3 Likes

Is there any way to pass --max-fee-per-gas 15000000 to anttp?

Im short on ETH-ARB and BitMart is not recognising me as human today. Need to go to the bank tomorrow and get it done manually… sigh

1 Like

Hmm, not afaik! It will just be using the autonomi library defaults, I believe. I’m not sure if that can be sent through a build parameter either, as I’ve not really played with that option yet.

Obviously, that only impacts uploads though.

2 Likes

Yes Im kinda wanting to publish :slight_smile:

2 Likes

Pro-tip 1: To start brave browser with the proxy set…

  1. Install brave browser
  2. Start anttp in one terminal window.
  3. Run brave from another terminal window, e.g. brave --proxy-server="127.0.0.1:8080"

Pro-tip 2: To start brave browser with the proxy set and a URL opened…

  1. Run brave with a URL argument, e.g.

With Traktion’s IMIM blog:

brave --proxy-server="127.0.0.1:8080" http://62003e683b5a792f425a75c5d7d99d06e80f7047be8de8176b7d295e510b3b4c/blog/cec7a9eb2c644b9a5de58bbcdf2e893db9f0b2acd7fc563fc849e19d1f6bd872

Or some BegBlag:

brave --proxy-server="127.0.0.1:8080" http://a0f6fa2b08e868060fe6e57018e3f73294821feaf3fdcf9cd636ac3d11e7e2ac/BegBlag.mp3

The above is for Linux, but the same argument should apply for windows (although the brave command may be different).

4 Likes

A new minor version with some refactoring on the streaming side and minor fixes.

In bigger news, I’ve had to change the license, as it was incompatible with the Autonomi Client Library. In short, the library is GPL 3.0, which means AntTP must be at least as copy left.

Web apps which are built on AntTP remain unchanged licensing wise, as the license doesn’t extend to hosted apps.

If Maidsafe change the client library to be more permissive and/or provide a linking exception, then I can update the license again accordingly.

Release notes:

  • Updates license to GPL-3.0, as Autonomi library is likewise (and incompatible with Apache-2.0).
  • Adds chunk module and refactors sender/receiver to simplify integration.
  • Minor logging improvements.

Github: Release v0.4.6 · traktion/AntTP · GitHub
Dockerhub: https://hub.docker.com/r/traktion/anttp
Cargo: cargo install anttp

6 Likes