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

Dmsgweb #229

Merged
merged 19 commits into from
Dec 9, 2023
Merged

Dmsgweb #229

merged 19 commits into from
Dec 9, 2023

Conversation

0pcom
Copy link
Collaborator

@0pcom 0pcom commented Jun 30, 2023

dmsgweb is:

  • a socks5 proxy for resolving .dmsg domains which can be configured in a web browser, (or even used with applications such as curl, wget)
  • a dmsghttp client + webserver for accessing websites and services over dmsg and returning responses on local http port

this addresses issue:
skycoin/skywire#1637

image

image

Setup & testing

  • go run cmd/dmsgweb/dmsgweb.go
  • configure the proxy settings of your web browser to use localhost:4445

image

  • Visit any dmsghttp endpoint which may otherwise be fetched via dmsgget. Here are some:

http://026fcf40d641489836e73295a42205e55e1333fe56496014c7de2acefbb8f08200.dmsg/
^^ A rotating cube made with webassembly and golang
http://036a70e6956061778e1883e928c1236189db14dfd446df23d83e45c321b330c91f.dmsg/
^^ fiber.skywire.dev over dmsghttp

  • ???
  • profit
dmsgweb1.mp4

@0pcom
Copy link
Collaborator Author

0pcom commented Jul 10, 2023

Here is an example of a complex website served over dmsghttp

This example was not working when tested with skyfwd (skywire-cli fwd)

dmsgweb.mp4

@0pcom
Copy link
Collaborator Author

0pcom commented Dec 7, 2023

The socks5 proxy for the dmsg client and the regular http traffic has been implemented

I've attempted to implement the ability to specify port number for dmsg addresses.

Unfortunately, it's not working as it was in previous commits, will update with revised testing procedure when it is

@0pcom
Copy link
Collaborator Author

0pcom commented Dec 9, 2023

It's now working from my tests.

@0pcom 0pcom merged commit 1dd0314 into skycoin:develop Dec 9, 2023
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant