Simple Bookmark

A linkding inspired, self-hosted, bookmark manager built with my Essentials framework that only requires .NET 8.0, an SQL database, and a C compiler.

Downloads | My Software | Documentation

.NET VueJS Tailwindcss Latest commit

Simple Bookmark is licensed to you with the GNU GPL Affero V3 Latest version Latest commit

## Intro Simple Bookmark (name pending) is a fast, portable, and secure, self-hosted bookmark manager that was inspired by the [Linkding](https://github.com/sissbruecker/linkding) project. Simple Bookmark was built using my [Essentials](https://github.com/VnUgE/vnlib.core) web framework which enables high performance web applications and back-end extensibility in a small package. While it comes preconfigured with SQLite by default, I have 1st party support for MySQL and SQLServer, through add-on packages. It supports memory, Redis, or VNCache session for data caching. ### Features - Light/Dark theme - TOTP and public-key authentication - HTML bookmark file import from Linkding and others - HTML, JSON, and CSV bookmark export - Bookmark quick-add for browsers - Invite users with share links - Supports (and tested) SQLite, SQLServer, MySQL/MariaDB databases - It's quick <300ms load time & under 150kB with compression - It's small, 139mb Docker image - Argon2Id password hashing with secure defaults - Supports downstream proxy servers - Built-in TLS (TLS is required) ## Deployment overview __You need to read the [quick-start guide](https://www.vaughnnugent.com/resources/software/articles/ed9285b63922fd17b5126051e3a2e592cacecf33) to fully configure Simple-Bookmark but here are the basic steps.__ > Simple-bookmark was built without Docker as the primary target, this is because I believe users should have the support to deploy open source apps easily outside of a container. So while a Docker deployment is an option, the container is actually built from the Linux-x64 package during CI build time. ### Container install Download the latest alpine build package: [sb-alpine3.19-oci.tgz](https://www.vaughnnugent.com/resources/software/modules/Simple-Bookmark?p=Simple-Bookmark) This archive contains all the software needed to build the image locally. It also comes with a docker-compose.yaml file for easy setup and deployment. Here is the gist: ``` shell tar -xzf sb-alpine3.19-oci.tgz docker build . -t vnuge/simple-bookmark docker-compose up -d ``` _Of course there is more setup involved, so take a look at the docs for more info_ The image should be about 139mb when built! I'm also hoping to get it down even smaller in the future. You may also use Podman in the same format, simply substitute the word `docker` for `podman` in the previous commands. ### Bare-metal install >[!NOTE] >Bare metal installs will always have support, but it is far more difficult to account for all operating systems and users competencies for installers, compilers, operating systems and so on Please make sure yo read the quick-start guide for full installs. The following is a basic overview of how to install, build, and run the release server application on your machine. Each archive includes a Tasfile.yaml file that is used to build and run your application with just a few commands. #### Prerequisites - Download the package archive for your OS from my [builds page](https://www.vaughnnugent.com/resources/software/modules/Simple-Bookmark?p=Simple-Bookmark) - Install [go-task](https://taskfile.dev/installation) globally on your system #### Non Windows only ``` shell sudo task setup- #installs required tools and compiles libraries ``` Optionally create a self-signed TLS certificate using openssl and exports it to the proper location ``` shell sudo task create-cert #runs an openssl command ``` Optionally set file permissions ```shell chmod -R 0750 . && chmod -R 0770 data/ #only data dir needs write permissions ``` #### Windows only ``` shell task setup #runs all setup rules ``` > [!IMPORTANT] > This command attempts to move or compile native libraries on your system. Windows users will have to manually adjust their config file, or install VisualStudio build tools #### First time run Starting the server for the first time ``` shell task -- --setup #default task runs the server ``` Normal operation ``` shell task ``` ## Links & Support [Package downloads](https://www.vaughnnugent.com/resources/software/modules/Simple-Bookmark) - Archives, checksums, signatures, and module source code [Documentation](https://www.vaughnnugent.com/resources/software/articles?tags=docs,_Simple-Bookmark) - quick-start guides, user guides and more (work in progress) ### Compatibility Notes Simple-Bookmark uses far more aggressive input sensitization than Linkding and others. I am still working out a happy medium on aggressive safety and usability. When importing bookmarks, you may consider selecting the `fix errors` checkbox that will attempt to correct your HTML file import by replacing illegal characters with white-space. ### License The software in this repository is licensed under the GNU Affero General Public License version 3 (or any later version). See the LICENSE files for more information. ### Contact Head over to my [website](https://www.vaughnnugent.com) for my contact info/community. ### Other open source notices This project was initially built in about a week using [Flowbite](https://flowbite.com). I really tried to push myself with a new front-end application from scratch using a new component library. I will slowly clean up the repeated tailwindcss utilities to make classes more unified throughout the app, but it's low priority. So big shout out to the Flowbite project and their free components and svg icons. This project was also heavily inspired by the [Linkding](https://github.com/sissbruecker/linkding) project which I used for years until I wanted to escape the Docker container and add some new features and speed it up! Thanks for the awesome inspiration! Finally of course VueJS, Vite, Tailwindcss, Postcss, VueUse, HeadlessUI, and many other FOSS projects made this possible!