The AutonomiDweb App - one click access to Autonomi websites and web apps

A web search for “how to set an environment variable in Windows” will likely be reliable enough.

Good luck. I look forward to hearing how you get on.

2 Likes

Thanks

In the end I figured out how to install ANT again.

so still some of CLI tinkering before the wallet is loaded for the first time

friends peer id: 8630c247220a1fa1ed0106e4790982a3c0e4caa3fc15050d60a234c729a2f284ba194f60eb83dd6a054fad6d599143b1

2 Likes

Drop the friends id in the list in the topic for Friends. Good you got it to work, hopefully the launcher/installer will be able to also set the private key as an env variable.

@Erik_Hedin when you first download dweb-app.exe and double click on it what happens? Do you get asked anything or did you need to change permissions to execute it?

I’m writing a blog post and want to explain what happens for a new user who has just downloaded it. Thanks.

3 Likes

Hi,

installation from a new (regarding dweb) computer.

  1. double click download

    image

  2. Windows warning, (minus the graphic, on my computer the text is in local laungage so took this pic from the net)

  3. Click the “more info”

  4. Click “run anyway”

  5. App has started (this screenshot is from the computer with preinstalled ANT with set PK variable)

Ps version 0.12 on github 0.13 in app Ds

4 Likes

clicking the “Browse the Autonomi dweb” button opens http://127.0.0.1:5537/dweb-open/awesome in chrome, which has nothing. Do I need to run a server to use this dweb app?

1 Like

The server is built in so what you have done is correct.

It can take a while to load so if you wait a couple of minutes it should be fine.

Let me know.

1 Like

That’s incredibly useful, thanks very much!

2 Likes

so I just leave it open for a while and try it again later?

I’ve given it 15 minutes

30 minutes now, still failing to “Browse the Autonomi dweb” so I’m not sure if anything is progressing or not

A couple of minutes max is what I’d expect, maximum so there’s a issue here but I can’t say what. If you can, try starting dweb-app.exe from the terminal and report the terminal output when you click Browse. You need to close the existing window first.

Thanks for the reports.

1 Like

I’ve noticed this, even to the extent that Friends won’t see I have a profile already and will try to get me to create one (glad I refused to jeopardise my existing conversations and persevere).

@happybeing Have you considered a visual indicator on the AutonomiDweb window to let people know when it has completed it’s startup/loading sequence?

This also links back to previous conversations regarding caching and how to mitigate the limitations from this type of network.

2 Likes

I think I need to remove the timeouts … somehow the network may have become a bit slower than before from time to time … so what I thought would be safe bets about timing don’t hold true …

2 Likes

Cool, yeah I was thinking of the Friends app too and some “under the hood” quality of life adjustments that would present a more stable platform to new and recurring users.

Though I am aware you are struggling at the moment, I hope things improve for you soon riddim.

1 Like

I would hang fire on any premature fixes until we get consensus on whether the network is abnormally slow the last day or so.

1 Like

I’ve done a bit recently on dweb, but am switching away to the new thing (not software) that is more important for the next few years. I expect to have some time for dweb now and again, but no idea how much or when.

I will make time to support anyone else who can contribute solutions and improvements, but that will require skills and commitment which is more than I expect, but the offer will remain open if someone appears and wants to make this fly.

Not Loading Problem

I’ve just tried using dweb-app v0.13.1 and the CLI on Linux with Brave and it all works fine. Loads within about 2 minutes. I have a hunch that not loading may be due to the OS and Browser behaving differently on some systems. I’m going to guess you are Mac / Safari if it never loads! :money_bag:

@tristen @alexander if the page is never loading, please can you tell me the OS and Browser you are using.

Anyone who finds that using dweb-app and clicking Browse never loads, if you are able to help, install the dweb command line app and try dweb open awesome. Then report back:

  • does it load (in a couple of minutes max) or not?
  • if it does, please re-try dweb-app/Browse and check it still fails
  • if using the command line does not load either, please report what you see in the terminal. Then leave that terminal open and in a new terminal try dweb open awesome again and I suspect it will load. You might also find the original browser will load after a couple of minutes if you refresh the page.
  • with any report please tell me what OS and what browser you are using

@alexander I’ve considered various things but no time to think through let alone implement at the moment. Also, it is premature. One of the reasons I’ve not done much about speed so far is that what measures are worth implementing will depend on network performance. I do very little caching so that what is fast and what is not is much easier to see - I just watch the terminal output and learn a lot (like Neo in the Matrix :ninja:).

Adding a cache in any area gets in the way of what is happening so I have some basic caching of website versions that will speed up subsequent loads of the same site if you leave the server (app) running. Also, the browser caching works so once you have opened a page and skip around a website, things will update instantly. But that’s all at the moment and it makes it much easier to figure out what’s going wrong with things like the loading issue above.

So for now my focus remains usability and the biggest win there would be handling the wallet side of things better but without mentioning things like wallet and tokens. Most users won’t need or want to learn new terms or get into managing tokens and passwords so I have some ideas for making that much simpler, but not enough time to flesh them out or begin implementation.

Thanks everyone for reporting back and for your reports, feedback and suggestions.

3 Likes

AutonomiDweb App v0.13.1

In this update:

  • faster (well less slow) loading of versioned sites from Autonomi
  • updated to Autonomi v0.6.3 (bootstrap improvements)
  • cosmetic: the app now has it’s icon (on Windows/Mac)
  • miscellaneous updates to dependencies

Please help: If someone would be kind enough to share this update on Discord and social platforms that would be great :folded_hands: (I have Mastodon covered but that’s all).

Get AutonomiDweb

To access Autonomi dweb sites in a standard browser:

  1. Download the AutonomiDweb App for Windows, Mac or Linux from here
  2. Run the app (eg double-click in your file manager)
  3. Click the “Browse” button which will open your browser, and wait for the website to load (ignore the browser error message)

Check the “Auto-start” checkbox if you want the app start whenever you reboot, so after that you will always have the Autonomi dweb available.

The is no longer a need to use the command line unless you want the extra features it provides such as publishing dweb websites and apps.

Notes:

  • if your wallet was created using ant CLI (or imported into it) dweb-app will pick that up automatically. If it is password protected, you must start dweb-app from the command line in order to enter your password and unlock the wallet
  • Linux: you can either download and run the AppImage, or you can download the debian package and install it manually
  • MacOS and Linux: if you have SECRET_KEY set in your .bashrc it won’t be seen when opening dweb-app in the file manager. But if you set it in your .profile it should be picked up

For more on browsing websites on Autonomi and other dweb features, see the OP

9 Likes

i am using it on windows, was that the issue? Mainly works on Linux?

It would be great if the main page showed “Sites Loaded! Can click Browse now!” or some sort of progress indicator or anything

1 Like

I don’t understand the questions about Windows/Linux which issue?

I’m not sure what you mean about a progress indicator. Do you mean after after clicking Browse?

Nothing is happening until you click Browse. After doing that it takes time to load the website from Autonomi which will then display in your browser.

Unfortunately the browser shows an error until the page loads, so ideally that would be something like “Loading from Autonomi…” or would you suggest something in the app?

Thanks for the feedback. Great that you are having success. What websites did you try?

1 Like

I mean a progress indicator from when you open the dweb app, while you wait for it to download / cache whatever data it needs to, to allow for the moment when its “Browse” button has enough data loaded to function and actually load pages. Because I opened dweb on windows, waited 15-30min, and then clicked Browse and it still just took me to some broken 127.0.0.1/whatever localhost page that didn’t work at all and said No Connection

1 Like