April 9, 2025 | 07:25
Reading-Time: ca. 1 Min

rest-api-skeleton (Win+Linux) on codeberg.org  UPDATE

Yes, I have a passion for exotic languages. This time I experimented with Purebasic1 and wanted to see how quickly a robust, multi-threaded HTTP REST API could be created. Cross-platform for Linux, Windows and OS X, free of additional dependencies as a single-file binary behind a reverse proxy that takes care of everything with TLS and load balancing.

The result is a complete skeleton framework that can be quickly customized for your own purposes. With only 100 KB, it is ridiculously small and extremely fast, with its own config file and logging. I even found time to integrate Swagger. The project is available on Codeberg, have fun!2

In diesem Sinne,
Tomas Jakobs

Update from 18.04.2025:

The compiled single-file executable was originally 100 KB in size, but I had to say goodbye to that. With TLS support, the Linux version comes to 1.3 MB, the Windows executable to 1.7 MB. Still compact and above all without additional dependencies.

© 2025 Tomas Jakobs - Imprint and Legal Notice

Support this blog - Donate a Coffee