Simple bookmark manager built with Go
Find a file
Monirzadeh f4817cb9c3
fix: Ensure bookmark files are correctly downloaded before deleting current ones (#683)
* generate ebook get dstPath

* Archive and ebook can recover if download faild

* recover thumb if download faild

* thumb image create just if image processing is sucssesful

* create epub in tmp if it sucssesful copy to destination

* archive file create in tmp if it successful move to destination

* move to destination as function

* update ebook download api and remove .epub from file name

* report faild item to user

* not show dialog if error not happen

* update thumbnail based on last status of bookmark fix #524

* better warning massage

Co-authored-by: Felipe Martin <812088+fmartingr@users.noreply.github.com>

* tmpFile without .epub

* MoveToDestination change to MoveFileToDestination

* return .epub

* log if downloadBookImage return error

* fix bug remove imgPath just if download last image be unsuccessful

* update old unit test

* add processing.go unit test

* small massage for report failded item to the user

* add some more unit test and samplefile

* use sample image in unit test

* use local sample file and unit test not need internet connection anymore

* update error to user and log that too

* add more comment

* update comment

* change variable name parentDir to dstDir

* more simpler error handling

* remove unneeded defer

* remvoe unneeded epubWriter.Close()

* more readable unit test in processing

* more readable unit test for ebooks

* delete all defer os.RemoveAll from unit tests

* Better comment

Co-authored-by: Felipe Martin <812088+fmartingr@users.noreply.github.com>

* Better Error output

Co-authored-by: Felipe Martin <812088+fmartingr@users.noreply.github.com>

* fix err.String() method

---------

Co-authored-by: Felipe Martin <812088+fmartingr@users.noreply.github.com>
2023-08-20 18:20:13 +02:00
.githooks Add GitHub Action for tests & coverage 2020-08-06 21:08:43 +02:00
.github Swagger improvements (#666) 2023-08-12 08:38:52 +02:00
docs Swagger improvements (#666) 2023-08-12 08:38:52 +02:00
internal fix: Ensure bookmark files are correctly downloaded before deleting current ones (#683) 2023-08-20 18:20:13 +02:00
scripts Swagger improvements (#666) 2023-08-12 08:38:52 +02:00
testdata fix: Ensure bookmark files are correctly downloaded before deleting current ones (#683) 2023-08-20 18:20:13 +02:00
.dockerignore Setup new CI/CD workflows (#365) 2022-02-13 16:38:54 +01:00
.gitignore feat: sqlite migrations (#398) 2022-03-26 08:33:57 +01:00
.golangci.yml Start working on new REST API. Refactor logic in domains. (#497) 2023-07-17 14:30:18 +01:00
.goreleaser.yaml Start working on new REST API. Refactor logic in domains. (#497) 2023-07-17 14:30:18 +01:00
app.json Revert "Restructure build files" 2019-09-26 16:25:19 +07:00
CODE_OF_CONDUCT.md Update links and email addresses 2020-08-06 22:26:59 +02:00
coverage.txt Start working on new REST API. Refactor logic in domains. (#497) 2023-07-17 14:30:18 +01:00
docker-compose.yaml feat: add SHIORI_PG_SSLMODE (#536) 2023-07-09 08:43:26 +02:00
Dockerfile Run legacy API and new API at the same time. (#648) 2023-07-19 18:25:41 +02:00
Dockerfile.compose Run legacy API and new API at the same time. (#648) 2023-07-19 18:25:41 +02:00
go.mod Start working on new REST API. Refactor logic in domains. (#497) 2023-07-17 14:30:18 +01:00
go.sum Start working on new REST API. Refactor logic in domains. (#497) 2023-07-17 14:30:18 +01:00
LICENSE Update LICENSE 2019-01-06 17:00:20 +07:00
main.go Show version in login page (#652) 2023-07-21 09:25:19 +02:00
Makefile Swagger improvements (#666) 2023-08-12 08:38:52 +02:00
Procfile Added Heroku deploy. Fixed go-shiori/shiori#45 2019-09-25 13:45:08 +03:00
README.md chore: remove irc badge from readme (#674) 2023-07-26 09:10:35 +02:00

Shiori

IC Go Report Card #shiori-general:matrix.org Containers

Check out our latest Announcements

Shiori is a simple bookmarks manager written in the Go language. Intended as a simple clone of Pocket. You can use it as a command line application or as a web application. This application is distributed as a single binary, which means it can be installed and used easily.

Screenshot

Features

  • Basic bookmarks management i.e. add, edit, delete and search.
  • Import and export bookmarks from and to Netscape Bookmark file.
  • Import bookmarks from Pocket.
  • Simple and clean command line interface.
  • Simple and pretty web interface for those who don't want to use a command line app.
  • Portable, thanks to its single binary format.
  • Support for sqlite3, PostgreSQL and MySQL as its database.
  • Where possible, by default shiori will parse the readable content and create an offline archive of the webpage.
  • [BETA] web extension support for Firefox and Chrome.

Comparison of reader mode and archive mode

Documentation

All documentation is available in the docs folder. If you think there is incomplete or incorrect information, feel free to edit it by submitting a pull request.

License

Shiori is distributed under the terms of the MIT license, which means you can use it and modify it however you want. However, if you make an enhancement for it, if possible, please send a pull request.