2022-05-24 19:22:48 +09:30
|
|
|
# linkwallet
|
2022-05-24 20:03:43 +09:30
|
|
|
|
|
|
|
A self-hosted bookmark database with full-text page content search.
|
|
|
|
|
|
|
|
# Feature list
|
|
|
|
|
|
|
|
* Simple cross-platform single binary deployment
|
|
|
|
* or docker if you prefer
|
2022-05-28 19:18:57 +09:30
|
|
|
* Bookmarklet, single click to add a bookmark from any webpage
|
2022-05-24 20:03:43 +09:30
|
|
|
* Full-text search
|
|
|
|
* Bookmark content is scraped and indexed locally
|
|
|
|
* Page content periodically refreshed automatically
|
|
|
|
* Interactively search across titles and content
|
|
|
|
* Rippingly fast results, as you type
|
2022-05-28 19:18:57 +09:30
|
|
|
* full text search ~60ms (over full text content of 600 bookmarks)
|
2022-05-28 16:45:43 +09:30
|
|
|
* No need to remember how you filed something, you just need a keyword
|
|
|
|
or two to discover it again
|
2022-05-28 19:18:57 +09:30
|
|
|
* Embedded database, no separate database required
|
2022-05-24 20:03:43 +09:30
|
|
|
* Light on resources
|
2022-05-28 19:18:57 +09:30
|
|
|
* ~21Mb binary
|
|
|
|
* ~40Mb memory
|
|
|
|
* ~24Mb database (600 bookmarks, full text content indexed)
|
2022-05-28 16:45:43 +09:30
|
|
|
* Easily export your bookmarks to a plain text file - your data is yours
|
2022-05-24 20:03:43 +09:30
|
|
|
|
2022-05-28 19:51:17 +09:30
|
|
|
# Installation
|
|
|
|
|
|
|
|
## Docker
|
|
|
|
|
2022-05-28 19:54:29 +09:30
|
|
|
* Copy the `docker-compose.yml-sample` to a directory somewhere
|
|
|
|
* Rename to `docker-compose.yml` and edit to your needs
|
|
|
|
* In most cases, you only need to change the path to the `/data`
|
|
|
|
mountpoint.
|
2022-05-28 19:51:17 +09:30
|
|
|
* Run `docker-compose up -d`
|
|
|
|
|
2022-06-02 14:19:49 +09:30
|
|
|
## Packages (deb/rpm)
|
|
|
|
|
|
|
|
* Download the .deb or .rpm from the releases
|
|
|
|
* Install using apt/dpkg/rpm
|
|
|
|
* Automatically creates a systemd service, enabled and started
|
|
|
|
* Runs as user `linkwallet`
|
|
|
|
* Database stored in `/var/lib/linkwallet`
|
|
|
|
|
2022-05-28 19:51:17 +09:30
|
|
|
## Binary
|
|
|
|
|
|
|
|
* Download the appropriate binary from the releases page
|
|
|
|
* Install somewhere on your system
|
2022-05-28 19:54:29 +09:30
|
|
|
* Run `./linkwallet -db-path /some/path/xxxx.db` where `/some/path/xxxx.db`
|
|
|
|
is the location of your bookmarks database (will be created if it does not yet exist)
|
2022-05-28 19:51:17 +09:30
|
|
|
|
|
|
|
## Source
|
|
|
|
|
|
|
|
* Checkout the code
|
|
|
|
* `go build cmd/linkwallet/linkwallet.go`
|
|
|
|
|
|
|
|
# Using
|
|
|
|
|
|
|
|
linkwallet is a 100% web-driven app. After running, hit the web interface
|
|
|
|
on port 8109 (docker using the sample docker-compose.yml) or 8080 (default
|
|
|
|
on binary).
|
|
|
|
|
|
|
|
Change the port number by setting the PORT environment variable.
|
|
|
|
|
|
|
|
If you put linkwallet on a separate machine, or behind a reverse proxy,
|
2022-05-28 19:54:29 +09:30
|
|
|
go into the config page and set the correct `BaseURL` parameter, or the bookmarklets
|
2022-05-28 19:51:17 +09:30
|
|
|
will not work.
|
|
|
|
|
2022-05-24 20:03:43 +09:30
|
|
|
# Roadmap
|
|
|
|
|
2022-05-28 16:45:43 +09:30
|
|
|
* More options when managing links
|
|
|
|
* delete
|
|
|
|
* sorting
|
|
|
|
* More tag options
|
|
|
|
* search for tags
|
|
|
|
* bookmarklet with pre-filled tags
|