Skip to content

ranfdev/Lobjur

Repository files navigation

Lobjur

This a native https://lobste.rs client written using GTK4, libadwaita and ClojureScript (gjs runtime, custom target).

Download on Flathub

Screenshot

Home page screenshot

Features

  • Browse hottest and active stories
  • Browse the comments of each story
  • Browse stories by tag
  • Lookup user info

Development

ClojureScript requires a decent amount of dependencies for compilation; they are listed in the file flake.nix.

Provided you have the nix package manager installed, with flakes enabled, you can enter inside a shell environment with all the required dependencies, by doing

nix develop

The following will continuosly watch for file changes and will recompile the changed files to JavaScript.

npx shadow-cljs watch app

The following will actually run the app. The app is able to connect to the compiler, to provide hot-reload on some components.

gjs build/app.js

Once the app is running, you can also inspect its internal state with a REPL, using your favorite editor integration or running

npx shadow-cljs cljs-repl app

Release

For who mantains the app.

  • Create a dist folder using
./build-aux/make-dist.sh
  • Upload the dist archive as a github release.
  • Wait for the flathub build bot to create an update.