Proof of concept
Not a real dApp yet
The first step has been taken into the decentralized web realm.
Stored on Arweave
It is a one page 2.54 KiB sized HTML file that I stored on the Arweave Permaweb. And it cost me 0.0002 AR to store it, without further costs. To upload it I used the Arweave App walet. Using it is pretty straightforward. And I can view the uploaded webpage within the App. The image that can be seen in the webpage already had been stored on the Permaweb. And to my pleasant surprise, it loads pretty fast. Development I did online using some tools at the web hosting service. And in the end I had to use a PHP page to load and show the webpage on the subdomain I reserved for the dApp proof of concept.
When you goto https://dapp.lilypictures.nl the first time a confirmation window will pop up. There you will be asked if you want to stay on the subdomain or if you want to go to the Arweave stored page. Basically they are the same, except for the extra PHP and JS usage on the subdomain. If it all works out as I expect than the webserver should be able to handle quite a lot of page requests. As it mainly has grab the original from the Arweave Permaweb and show it. If the webserver cannot handle it then I will change the subdomain into a redirection page. Or I might first try to create a cached page first and serve that.
IPFS was not an option for me, as I have lost files using it. Pinning files on IPFS is an option, I know, but I chose to use Arweave. Anyway, it is a proof of concept. There is no real decentralized App as such yet. It does what it is supposed to do, so far. For me it is time now to go and do some other things. Guess I will go for a walk and enjoy the lovely spring weather of this first Easter day of the year 2023. Maybe I'll have some 'Aha' moments while I'm on my way.
Have a great one!
Now what kind of trademark would fit the idea?
Image CC0 licensed