6 Commits

Author SHA1 Message Date
7399fbc5ff Use alpine base so we get the necessary CA's for SSL to work 2022-05-25 13:33:04 +09:30
f62499f6b5 bump version 2022-05-24 23:40:41 +09:30
16006c1f1b Fix gitignore 2022-05-24 23:39:53 +09:30
92c293205d Filter changelog 2022-05-24 23:39:32 +09:30
6473b48a5b Commit missing file 2022-05-24 23:37:36 +09:30
385397c980 Update README with project information 2022-05-24 20:03:43 +09:30
6 changed files with 47 additions and 3 deletions

1
.gitignore vendored
View File

@@ -1,4 +1,3 @@
badger/
dist/
tmp/
linkwallet

View File

@@ -33,3 +33,4 @@ changelog:
exclude:
- '^docs:'
- '^test:'
- '^[Bb]ump'

View File

@@ -1,3 +1,3 @@
FROM scratch
FROM alpine:3.16
ENTRYPOINT ["/linkwallet"]
COPY linkwallet /

View File

@@ -1 +1,20 @@
# linkwallet
A self-hosted bookmark database with full-text page content search.
# Feature list
* Simple cross-platform single binary deployment
* or docker if you prefer
* 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
* Embedded database, no separate database system required
* Light on resources
# Roadmap
* Bookmarklet
* Tags

View File

@@ -0,0 +1,25 @@
package main
import (
"log"
"github.com/tardisx/linkwallet/db"
"github.com/tardisx/linkwallet/version"
"github.com/tardisx/linkwallet/web"
)
func main() {
dbh := db.DB{}
dbh.Open("badger")
bmm := db.NewBookmarkManager(&dbh)
go func() { version.UpdateVersionInfo() }()
log.Printf("linkallet verison %s starting", version.Is())
server := web.Create(bmm)
go bmm.RunQueue()
go bmm.UpdateContent()
server.Start()
}

View File

@@ -8,7 +8,7 @@ import (
"golang.org/x/mod/semver"
)
const Tag = "v0.0.3"
const Tag = "v0.0.5"
var versionInfo struct {
Local struct {