2022-12-28 11:28:14 +10:30
|
|
|
|
2022-05-24 19:22:48 +09:30
|
|
|
# linkwallet
|
2022-05-24 20:03:43 +09:30
|
|
|
|
2022-12-28 11:28:14 +10:30
|
|
|
[](https://goreportcard.com/report/github.com/tardisx/linkwallet)
|
|
|
|
|
2022-05-24 20:03:43 +09:30
|
|
|
A self-hosted bookmark database with full-text page content search.
|
|
|
|
|
2025-05-03 12:37:44 +09:30
|
|
|
linkwallet uses the [Bleve](https://blevesearch.com) indexing library, providing
|
|
|
|
excellent support for free-text queries over the content of all your bookmarked
|
|
|
|
pages.
|
2022-12-28 11:28:14 +10:30
|
|
|
|
|
|
|
![Search][screenshot_search]
|
|
|
|
|
2025-05-03 12:37:44 +09:30
|
|
|
linkwallet indexes the page content, and automatically re-scrapes the pages
|
|
|
|
periodically. Tags can be applied (though with the full-text search they are
|
|
|
|
often not needed). Bookmarks can be easily managed, and can be imported or
|
|
|
|
exported in bulk.
|
2022-12-28 11:28:14 +10:30
|
|
|
|
|
|
|
![Admin][screenshot_admin]
|
|
|
|
|
|
|
|
Bookmarks can be added with two clicks via the bookmarklet.
|
|
|
|
|
|
|
|
![Bookmarklet][screenshot_bookmarklet]
|
|
|
|
|
2022-05-24 20:03:43 +09:30
|
|
|
# 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
|
2025-05-03 12:37:44 +09:30
|
|
|
* full text search ~30ms (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
|
2025-05-03 12:37:44 +09:30
|
|
|
* Extremely light on resources
|
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-08-21 09:15:34 +09:30
|
|
|
To upgrade:
|
|
|
|
|
|
|
|
* `docker-compose pull`
|
|
|
|
* `docker-compose up -d`
|
|
|
|
|
2022-06-02 14:19:49 +09:30
|
|
|
## Packages (deb/rpm)
|
|
|
|
|
2025-05-03 12:37:44 +09:30
|
|
|
[not yet migrated to new goreleaser - please message me if you need packages]
|
2022-06-02 14:19:49 +09:30
|
|
|
|
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
|
|
|
|
* sorting
|
|
|
|
* More tag options
|
2022-06-05 16:03:46 +09:30
|
|
|
* bookmarklet with pre-filled tags
|
2022-12-28 11:28:14 +10:30
|
|
|
* search/filter on tags
|
|
|
|
|
|
|
|
[screenshot_search]: https://raw.githubusercontent.com/tardisx/linkwallet/main/screenshot_search.png
|
|
|
|
[screenshot_admin]: https://raw.githubusercontent.com/tardisx/linkwallet/main/screenshot_admin.png
|
2022-12-28 11:34:20 +10:30
|
|
|
[screenshot_bookmarklet]: https://raw.githubusercontent.com/tardisx/linkwallet/main/screenshot_bookmarklet.png
|
2022-12-28 11:28:14 +10:30
|
|
|
|