Developing sleep app using Flutter, LLAMA 3.3 and Piper TTS

Petar Koretić
10 min readDec 28, 2024

In a search of what could help me fall asleep more easily I have came across a dozen of different apps but one that hit the spot was MySleepButton.
Simply put, the app speaks the words with a short delay in between and all you have to do is to imagine them as they come. There is science behind it, which works for me.

However, the android app was not stable and crashing for a long time.
So I decided to combine opensource tools to build myself a new one and make it’s source available.

PiperSleep pipeline

App development

We need to make a list of features to develop and we always start with some proof of concept. It can be called a demo or a prototype, but what it means it’s not meant for production.
I prefer to use Kanban style board following Agile and Devops practices to write down — requirements, design, architecture, development, testing, deployment and operations tasks.
No matter if one is indie developer, one time contractor or just an employee, we still end up going through similar process.

Proof of concept

In Agile terms here I’m both the user and product owner so I have idea of what I want. But only once we start to use the product…

--

--

Petar Koretić
Petar Koretić

No responses yet