A Decentralized Book Search Engine
Project description
Liber3: An Open Sourced Decentralized eBook Search Engine
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.
Getting Started
To get started, please follow these steps:
Prerequisites
- Python (v3.7 or higher)
Installation
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
Options
-
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. -
-s <sort type>
or--sort <sort type>
:Specifies the sorting sequence of results to display. Default: none.date
:sort by the original publication time of the file
-
-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.
Examples
- 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
Built With
- glitter-sdk-py A Python SDK for interacting with the Glitter Protocol.
Contributing
If you would like to contribute to this project, feel free to fork the repository and submit a pull request with your changes.
License
This project is licensed under the MIT License - see the LICENSE file for details.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file lib3-0.0.1.tar.gz
.
File metadata
- Download URL: lib3-0.0.1.tar.gz
- Upload date:
- Size: 6.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.5.1 CPython/3.7.16 Darwin/21.6.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d5f12b08946851b9871e2d1463fd14dbf61baf4a1da1737272d4efe6b9455f58 |
|
MD5 | 7bb23366c4b7fe5347d60c6a5782e59f |
|
BLAKE2b-256 | d4efac2d713245c898075bd77531ce83f4773f04d6245bf120f5eecf5f942b51 |
File details
Details for the file lib3-0.0.1-py3-none-any.whl
.
File metadata
- Download URL: lib3-0.0.1-py3-none-any.whl
- Upload date:
- Size: 7.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.5.1 CPython/3.7.16 Darwin/21.6.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 957ecb3ae6ebf9736c07eaf947fc1b52d539b35795799ee0171ade28494c44ad |
|
MD5 | 80bd69304736e9e1b8e6610a076d5b15 |
|
BLAKE2b-256 | 1a67470f96244ca51b0cacc0b51daebbd217b031b320d29fadfce40e23656d91 |