fafi-0.2.2
توضیحات
CLI for indexing Firefox bookmarks.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | fafi-0.2.2 |
| نام | fafi |
| نسخه کتابخانه | 0.2.2 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Sander van Dragt |
| ایمیل نویسنده | sander@vandragt.com |
| آدرس صفحه اصلی | - |
| آدرس اینترنتی | https://pypi.org/project/fafi/ |
| مجوز | MIT |
Fafi
====
Search Firefox bookmark contents, with this commandline client. Fafi extracts the content of the bookmarks and stores them into a searchable SQLite database.
Things it does:
* Detects your places database from the Firefox profile folder. (support for picking a profile from multiple profiles)
* Extract main text content from all bookmarks into ``<user_data_dir>/fafi/data.sqlite``.
* Skips .local and .test domains.
* Skips pages that are already indexed.
* Search results are ranked by relevance and displayed with snippets.
URLs are stored together with the main page context as determined by `Newspaper <https://github.com/codelucas/newspaper>`_.
Users
-----
.. code-block::
pipx install fafi
fafi --help
fafi index
fafi search 'linux'
Developers
----------
.. code-block::
# Install project requirements.
poetry install
# Log in to a python shell
poetry shell
# Help on commands
./fafi.py --help
# Index bookmarks
./fafi.py index
# Search for linux
./fafi.py search 'linux'
.. image:: https://user-images.githubusercontent.com/594871/76201330-ffcba880-61ea-11ea-9fdd-cc32a90deecd.png
:target: https://user-images.githubusercontent.com/594871/76201330-ffcba880-61ea-11ea-9fdd-cc32a90deecd.png
:alt: search query
نیازمندی
| مقدار | نام |
|---|---|
| >=0.2,<0.3 | newspaper3k |
| >=8.0,<9.0 | click |
| >=1.4,<2.0 | appdirs |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.7,<4.0 | Python |
نحوه نصب
نصب پکیج whl fafi-0.2.2:
pip install fafi-0.2.2.whl
نصب پکیج tar.gz fafi-0.2.2:
pip install fafi-0.2.2.tar.gz