r/code • u/[deleted] • Mar 07 '23
API Should I Open-Source this Lightweight Neurodivergent API?
6
u/angryrancor Boss Mar 07 '23
Totally. Imho the best way to get good feedback on a project is to open the source (as long as you don't care to profit from it, directly, immediately).
If you open the source, makes it easier for someone to wrap or port it to another language or platform, as well.
5
Mar 07 '23
Great! Thanks for the feedback. Yeah for this I don’t want to profit off it at all. I want it to be free for all that want it as I think this technique is a game changer and should not be locked behind a paywall.
As for porting, great as it’s written in PHP and we all know how people feel about that.
3
2
7
u/[deleted] Mar 07 '23
Yesterday, ‘Bionic Reading’ - the concept of bolding the first half of a word and greying out the last half, went viral! And rightly so, because with people like us who struggle with reading or focus while reading this can be a complete game changer.
I stopped what I was doing as soon as I saw the post on Reddit and went to install the iOS app on my phone and the chrome extension - a Classic ADHD distraction right there. But to my disappointment, the iOS was completely non-functional and the browser extension worked some of the time.
So in the spirit of getting massively distracted from my actual work, I figured I would look into it and see if I could quickly engineer a simple reader that could open an article from any page and format it in this style. My developer's brain lit up at the idea.
But to get an understanding of how it worked, which, unless I'm missing something is to simply divide the word length by 2, and round that number (up). Then apply bolding to the first half. Easy! Yet, what I found was a bunch of parents and aggressive legal disclaimers locking the tech down so they and they alone can develop it, and we know what comes next - lock it behind a paywall for those that can afford it.
So in the spirit of good Reddit Etiquette, I made my own reader (in this video) and am planning on open-sourcing the API behind it which does not use the patented algorithm that Bionic Reader uses, it uses very basic Math (with the same results, weird). If anyone is interested or has advice on open-sourcing an API please let me know.