Interview Loken is a new type of tool which aims to let website designers feel their way towards a design in the same sort of way as musicians do with a software synthesizer.
Loken is a bit of a departure from the Reg FOSS desk’s usual fare, but then again, so was the Ardour FOSS DAW that we looked at a few years ago. Ardour is a software-based synthesizer, letting someone create music without playing physical instruments or using traditional music notation. Ardour is unusual for being FOSS, but there are quite a few such tools out there, from Ableton to Zrythm.
As for Loken, it aims to bring a similar sort of intuitive, point-and-click improvisational design process to a very different domain – the process of designing the look and feel of a website. An archived project description says:
Loken is still under construction by solo Berlin startup Steve Mitchell, who as well as being a software developer is also a trained musician. “It started out as a sort of fidget toy, and the current demo sort of still is,” he told us. “Back in November, we launched a beta as an anti-burnout measure, but February will be the proper version 1.0.”
The Register: So why are you building this? How do you feel it offers something new?
Mitchell: It’s true, there are other theme generators online, but they need you to have defined ideas of your desired output. If you have a goal in mind like that, there are loads of tools. But Loken is for exploring, for finding your way when you don’t know where you’re going. It felt like an opportunity to change the whole thing.
The Register: So what is your background, and what led you to this?
Mitchell: I was a front-end developer. I worked in London for an offshoot of J Walter Thompson, doing a lot of Drupal, handling things like mailing lists and email templates. It made me think about the possibility of tools to abstract this into something more modern, a bit more cool. So I decided to make my own. My initial reaction was “Oh god, I don’t know how to do this!” But now I do. I had to teach myself graph theory and back-end development.
The Register: Why now?
Mitchell: It feels like when the front-end industry chose React as The Way – or at least Javascript – that as opposed to learning PHP, and CSS, and design, and accessibility, now, people enter with ten years of comp-sci experience. They treat design as boxes they can colour in. For user interface, currently, they mock it up in Figma, then they send it to someone who makes it work.
Instead, Loken can form any DOM-shaped object in one go in one place. You can build, and maintain, and develop, and it emits design tokens that can be used in token.studio. You don’t need to learn something arcane like CSS, and there’s no typing.
The Register: How is it implemented?
Mitchell: Well, it’s a web app for now, although there is also an Electron app – but that’s going. It’s also Mac-only, but that will change in time. There’s quite a lot of supporting back-end stuff, including CRM – user management, ticketing, support, payment processing, and subscriptions. But there’s lots of sandboxing stuff, so that it can be local too. It has a WebSockets layer for front-end/back-end communications. One of the next things on the to-do list is that it needs a REST-esque “API” layer.
Most of it is written in PHP, using Laravel, so I don’t need to pay others to support things. It’s really impressive that a language as maligned as PHP has FOSS tools like this, which make this sort of project possible.
The Register: Is it open source? How are you going to make it pay?
Mitchell: No, it isn’t, but there are tools and components that we’re building which we plan to make FOSS. There are no backers, no free version or free tier. The “freemium” model is a venture capitalist sort of thing, and none of them are involved. For now, it’s growing by word of mouth. When I put the beta version up in November, it suddenly went from about 100 followers to about 1,000.
Now, I’m also working on documentation. I built a Puppeteer script. It walks through all the important elements: it boots up, logs in as its own special user, walks through all the screens, taking screenshots of every page, and saves them all. Then, it switches to dark mode, and does it again. It’s saved so much time. Before, every time something changed, I had to go through and work out which bits needed new pictures. I may open source this bit, for example. Chunks of the tech are interesting enough that they perform as micro specs themselves. That would be interesting to open up, too.
The Register: How many people are involved?
Mitchell: It’s just me. I have a colleague in the UK who does the legal things, and acts as a project manager for me. For now, I am doing all the coding, but I can’t write all the possible plug-ins for all the things it could potentially do. But maybe, if it’s simple enough, others can.
Getting to the right level of extreme simplicity is really, really hard. But sometime, you realize, if you need the thing, you just have to build it yourself. ®