sbm-rs

Crates.iosbm-rs
lib.rssbm-rs
version0.1.0
created_at2025-09-15 20:59:14.831048+00
updated_at2025-09-15 20:59:14.831048+00
descriptionSimple bookmarks manager written in Rust
homepagehttps://git.ch-naseem.com/ndpm13/sbm-rs
repositoryhttps://git.ch-naseem.com/ndpm13/sbm-rs
max_upload_size
id1840553
size238,545
Naz (ndpm13)

documentation

README

Simple Bookmarks Manager

Simple but customizable solution for storing your Browser bookmarks.

Screenshot cosmic

Installation

Cargo

cargo install sbm-rs

Compose file

services:
  sbm-rs:
    container_name: sbm-rs
    image: ghcr.io/ndpm13/sbm-rs:0.1.0
    volumes:
      - ./config:/root/.config/sbm-rs
    ports:
      - "8080:8080"

Usage

Configuration files for sbm-rs are stored by default in $XDG_CONFIG_HOME/sbm-rs/, on first use it'll create config.toml, style.css, bookmarks.json. Update bookmarks.json manually with your bookmarks. I am working on a better way to manage them, but for now you'll need a text editor.

When editing config.toml make sure to use absolute paths, relative paths aren't supported for now.

Override Browser NTP

For Firefox based browsers there are many ways to achieve this, the easiest is using this extension.

new-tab-override screenshot

Chromium used to have a flag for this (--custom-ntp). However, as I'm writing this I can't find it in Brave anymore, nor in stock Chromium. So if you're not using an old version of Chromium by chance, you'll have to use an extension like this.

Themes

Screenshot simple themes

By default the active theme will be simple-gruvbox. But you can easily use one of the other themes in examples/. For example, here is how to use the cosmic theme:

  • First download the theme to sbm-rs home directory

    wget "https://github.com/ndpm13/sbm-rs/raw/refs/heads/main/examples/cosmic.css" -O ~/.config/sbm-rs/cosmic.css
    
  • Then update ~/.config/sbm-rs/config.toml

    # Remember to use the absulote path!
    style_file = "/home/<USER>/.config/sbm-rs/cosmic.css"
    

To-Do List

  • CLI for managing bookmarks
  • [*] Container image
  • Browser extension

License

sbm-rs is released under the MIT License. For more details, see the LICENSE file.

Commit count: 0

cargo fmt