As the title says, over last christmas I built a module that can persist any file or string onto the tangle!
It is entirely open source and I published it on NPM. Yesterday, I released version 3.0 which completely revamped the whole project. The PoW is now done locally so no remote node doing it is needed anymore.
I know that this is very similar to Oyster but I just started it as a fun little project over the holidays and only found out about Oyster afterwards. Additionally, it’s completely free to use and requires no extra node software.
- Persist any data onto the tangle of IOTA
- Retrieve data that was persisted with this module beforehand
- Optionally encrypt your data with a password (via AES)
- Store a string or even a whole file without any prior conversion
Big disclaimer there now:
Primarily the persisting onto the tangle is painfully slow compared to a traditional HTTP upload. Keep in mind though that this project is more of a proof-of-concept rather than a finished product. The reason that it takes so long is mainly the current speed of the PoW, which might get faster in the future.
It is a working product though albeit being slow. The retrieving is actually quite fast as I designed a data structure similar to a torrent under the hood.
After successfully persisting some data, the module will return a transaction hash I call
Entry Hash which can be used to retrieve the data again.
If you want to know how it works, have a look at this more detailed explanation in the README: https://github.com/loehnertz/Tanglestash/blob/master/README.md#idea
I also developed a GUI for it which you can download right here (also open source): https://github.com/loehnertz/tanglesta.sh/releases/tag/v2.0.0
This is probably also the way to go if you want to try it out. It’s best to start with a tiny file first, like a
.txt. Although, you could theoretically persist a whole video onto the tangle with it and share the
Entry Hash with your friends!
Some screenshots of it:
So the purpose of this post is mainly just to let you, the community, know about this little project. It’s nothing extraordinary but I thought some of you might enjoy it, use it, take some insight out of it for their own projects or even use the module within them – that’s the whole spirit of open source software at the end of the day.
So if you like the project or the idea behind it, I would just really appreciate a star on GitHub!