I made this tool in a hurry, so it is not great at all. The design, for instance, is bad, and as it uses free third party APIs to fetch prices to calculate the percentage of the goal reached, it sometimes misbehaves.
I did what I could, had little free time today, as I like working on open source projects, but I also have a full time job.
If you want to copy and build your own, to use in a more powerful server, or use better APIS, or even if you want to contribute to the code (thank you very much) here is the repository:
I am sorry for the ugly code. I promisse I will clean it when I have the time.
Changelogs: - Increase timeout to 30s - More try/catch to avoid not responding when errors happen - Added border letters, text can be read on a clear or dark background Source Code: https://github.com/igormuba/crypdonations
Here is the snippet I use on @ecency to just add it to every post. Oh, by the way, I have noticed that @ecency caches the images! That is great for performance, as the request takes a few seconds to load, it is great that the images do not need to load every single time! THANK YOU!!
First, before using the snippet, read the quick tutorial I have made on how the donations goal and QRCode tool works, so you can change the goals and addresses for your own ones:
Template for my snippet, there are two rows of QR codes, but you can add as many as you want:
# Snippet title, change to your own ![Goal](Put your goal URL here, check tutorial) <div class=pull-left> ![Crypto 1 Column 1, this goes on the left side](Crypto QRCode here, check tutorial) Address here (goes below the QRCode) </div> <div class=pull-right> ![Crypto 2 Column 2, this goes on the right side](Crypto QRCode image here) Another address here (below the QRCode) </div> <div class=pull-left> ![Crypto 3 Column 1, this goes on the left side on a NEW ROW](Crypto QRCode here, check tutorial) Address here (goes below the QRCode) </div> <div class=pull-right> ![Crypto 4 Column 2, this goes on the right side](Crypto QRCode image here) Another address here (below the QRCode) </div> <div> Donations tool made by @igormuba for the Hive blockchain Github source code: https://github.com/igormuba/crypdonations </div>
And here is it in action, a little bit improved:
Donate to help setup a new IPFS node: