Freepath is an information network that requires no internet, no servers, and no central authority of any kind.
Instead of routing your messages through a data center, Freepath works the way stories and letters worked for thousands of years: person to person, device to device.
When two phones running Freepath come near each other — at a coffee shop, on a bus, at a concert — they automatically and silently exchange content. Posts, messages, updates. Things you wrote. Things people you trust wrote. The network is the crowd itself.
Your phone becomes a node. You become the infrastructure.
This project explores data transfer using a screen-to-camera approach. The idea is simple: encode information into a sequence of QR codes, display them as a video on a screen, and then use a camera to capture and decode the video frames to retrieve the original data.
Here I'm using coroutines + context-parameters.
I find much more convenient when I explicitly handle db transactions with context-parameters.
Also, using arrow's Raise context adds typed error handling, without too dsl usage.
This project explores data transfer using a screen-to-camera approach. The idea is simple: encode information into a sequence of QR codes, display them as a video on a screen, and then use a camera to capture and decode the video frames to retrieve the original data.