Sn_httpd Repository of Public Web Page Addresses

I recommend checking out @Traktion 's sn_httpd if you haven’t already. If you have docker, you would just need to follow the instructions here to get it running.

https://hub.docker.com/r/traktion/sn_httpd

Once it is running, you can upload a simple html file or files in a directory using

ant file upload -p -x [dir or file name]

Then, using the address given at the end of the successful file/directory upload, enter the URL in your browser as

http://localhost:8080/

Here is an example URL you can try out once you have sn_httpd running:

http://localhost:8080/48cd310ecc21ad82e46514f2ede6e9f8bb8fae8be1f6b654c33a89d262535104/new/index.html

Here’s a screenshot:

Use this forum topic to post the addresses of your web creations!

10 Likes

@riddim Didn’t you have an ant game running?

5 Likes

Haha - yeah I can see if I still have it laying around and upload it again somewhere the next couple of days =)

6 Likes

Okay, here’s one, super simple. It is a decentralized, peer-to-peer chat app. So the entire web page with embedded app is free of any centralized servers. Using sn_httpd yet? Check it out!

http://localhost:8080/3548136301f2a4e49c45f096f7e83048a1b0770c034bb851cd8b67b32e444fbb/chat.html

Screenshot:

@Traktion

12 Likes

Curious! Does it work? :sweat_smile: Does it talk to a public server to proxy the messages or some such?

3 Likes

Oh no… Not sure I want to try a terminal browser through ssh from my phone xD

Damn… We really need a browser plugin that does the same as the container @dirvine … With messaging possible anything is possible :slight_smile: decentralised marketplace with lightweight chat system between seller and buyer - payment via msges and not only possible to pay for every step in gas+ant… SO Cool!

9 Likes

A p2p DEX running within autonomi xD

Device sharing (usage key changing and transferred for the rented time via msges)

8 Likes

Yes, I still have mine up, so anyone can join the chat by going to the link I posted (must run sn_httpd first so that it is listening). The chat does not rely on a central server. Read the info on trystero (link in screenshot). The chitchatter js script was fetched, but could have as easily resided on the autonomi network. The p2p discovery is through trystero which does it using BitTorrent and a few other decentralized peer discovery apps that are out there. Worth reading through their GitHub docs…

7 Likes

Did you have sn_httpd running on your phone?

1 Like

nono - on a laptop in the network where I started it via ssh :smiley: … tried to open it via phone xD …

1 Like

If it’s not localhost, it may need https. I’ve not implemented that yet! :sweat_smile:

1 Like

Oh - all good - no it’s part of @Helen s awesome app that is enforcing the secure context - and all good - I’ll test locally when I get a chance - just difficult to get physically in front of a pc with docker on it between the years for me - and my remote concept is based on ssh mainly

4 Likes

I’ll try to keep mine up and monitor it throughout the day to see if anyone hops onto the chat… let me know if you do! I’ve only tested it locally so far.

3 Likes

i just chucked up a public sn_httpd for everyone to try out at

http://sn-http.ddns.net:8081/

  1. the one and only BegBlag

http://safe-ntracking.ddns.net:8081/7a8554af57f3664c1f7896cae2394119d8ead2d49e736b060d8a66fc6a2befa1/BegBlag.mp3

  1. rough night by @Patosh

http://sn-http.ddns.net:8081/21aa171fe59bee10d88b10e26f43f4fcddf838d93aee88e18a1690dea8856753/Patosh-RoughNight.mp3

@Helen new chat but i think it needs to be local to work

http://sn-http.ddns.net:8081/3548136301f2a4e49c45f096f7e83048a1b0770c034bb851cd8b67b32e444fbb/chat.html

7 Likes

First chat using

http://localhost:8080/3548136301f2a4e49c45f096f7e83048a1b0770c034bb851cd8b67b32e444fbb/chat.html

@Traktion @happybeing @aatonnomicc

10 Likes

Very nice! I’ll have to read up on how it routes.

3 Likes

Great work @Traktion going to update my site and stick it up tomorrow :slight_smile:

4 Likes