summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNaz <ndpm13@ch-naseem.com>2025-09-15 16:58:21 +0100
committerNaz <ndpm13@ch-naseem.com>2025-09-15 17:06:56 +0100
commit62cf733cd0fa6ea6191e317d94a62387031d21d0 (patch)
tree9b15b51d30b7f25a0430ca42e30505d289d4ecf3
parent8b5a71dd3a490718540a7e9d48da2a220256a628 (diff)
📚docs: add project README
-rw-r--r--README.md73
1 files changed, 73 insertions, 0 deletions
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..21adf7c
--- /dev/null
+++ b/README.md
@@ -0,0 +1,73 @@
+# Simple Bookmarks Manager
+
+Simple but customizable solution for storing your Browser bookmarks.
+
+<div align="center">
+ <img src="https://files.catbox.moe/0jllib.jpg" alt="Screenshot cosmic" />
+</div>
+
+## Installation
+
+```sh
+cargo install --git https://github.com/ndpm13/sbm-rs
+```
+
+## 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](https://addons.mozilla.org/en-US/firefox/addon/new-tab-override/).
+
+<div align="center">
+ <img
+ src="https://files.catbox.moe/3ap80w.jpg"
+ alt="new-tab-override screenshot"
+ />
+</div>
+
+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](https://chromewebstore.google.com/detail/icpgjfneehieebagbmdbhnlpiopdcmna?utm_source=item-share-cb).
+
+## Themes
+
+<div align="center">
+ <img
+ src="https://files.catbox.moe/2ub78b.jpg"
+ alt="Screenshot simple themes"
+ />
+</div>
+
+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
+
+ ```sh
+ 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`
+
+ ```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