Introducing Liber3, a tool for searching ebooks stored on IPFS. It's based on a decentralized data protocol - Glitter Protocol.
You could use Liber3 to search for IPFS links base on file names and displays search results with a simple interface.
There is also a web version of Liber3 works on ENS and IPFS available if you do not have Python environment.
To get started, please follow these steps:
- Python (v3.7 or higher)
Installing the tool, and you should make sure your/download/path
in the $PATH
, then you can use the command line tool.
pip install lib3
-
terms
:Specifies search terms to be queried. Required:yes. -
-p <page>
or--page <page>
:Specifies the page of results to display. Default: 0. -
-l <limit>
or--limit <limit>
:Specifies the number of per page to display. Default: 10. -
-t <filter type>
or--type <fliter type>
:Specifies the book extension of result to display. Default: all.epub
:epub extension.pdf
:pdf extension.mobi
:mobi extension.azw3
:azw3 extension.djvu
:djvu extension.
- Search for keyword "algebra":
lib3 algebra
- Search for keywords "linear algebra" and page 1, limit 5:
lib3 "linear algebra" -p 1 -l 5
- Search for keywords "linear algebra" and only keep the pdf resource:
lib3 "linear algebra" -t pdf
- glitter-sdk-py A Python SDK for interacting with the Glitter Protocol.
If you would like to contribute to this project, feel free to fork the repository and submit a pull request with your changes.
This project is licensed under the MIT License - see the LICENSE file for details.