Project Name | Stars | Downloads | Repos Using This | Packages Using This | Most Recent Commit | Total Releases | Latest Release | Open Issues | License | Language |
---|---|---|---|---|---|---|---|---|---|---|
Meilisearch | 35,161 | 2 hours ago | 138 | mit | Rust | |||||
A lightning-fast search engine that fits effortlessly into your apps, websites, and workflow. | ||||||||||
Sonic | 17,891 | 20 days ago | 24 | July 10, 2022 | 66 | mpl-2.0 | Rust | |||
🦔 Fast, lightweight & schema-less search backend. An alternative to Elasticsearch that runs on a few MBs of RAM. | ||||||||||
Typesense | 12,763 | 13 hours ago | 280 | gpl-3.0 | C++ | |||||
Open Source alternative to Algolia and an Easier-to-Use alternative to ElasticSearch ⚡ 🔍 ✨ Fast, typo tolerant, in-memory fuzzy Search Engine for building delightful search experiences | ||||||||||
Tile38 | 8,460 | a month ago | 33 | April 21, 2021 | 130 | mit | Go | |||
Real-time Geospatial and Geofencing | ||||||||||
Awesome Elasticsearch | 4,408 | 6 months ago | 2 | unlicense | ||||||
A curated list of the most important and useful resources about elasticsearch: articles, videos, blogs, tips and tricks, use cases. All about Elasticsearch! | ||||||||||
Search Replace Db | 3,622 | 24 | 6 | 2 years ago | 6 | May 12, 2020 | 2 | gpl-3.0 | PHP | |
This script was made to aid the process of migrating PHP and MySQL based websites. Works with most common CMSes. | ||||||||||
Manticoresearch | 3,054 | a day ago | 221 | gpl-2.0 | C++ | |||||
Easy to use open source fast database for search | Good alternative to Elasticsearch now | Drop-in replacement for E in the ELK soon | ||||||||||
Js Search | 1,438 | 164 | 88 | 3 years ago | 21 | March 13, 2020 | 7 | mit | JavaScript | |
JS Search is an efficient, client-side search library for JavaScript and JSON objects | ||||||||||
Walrus | 1,052 | 26 | 17 | 4 months ago | 39 | June 30, 2022 | mit | Python | ||
Lightweight Python utilities for working with Redis | ||||||||||
Angrysearch | 866 | a year ago | 37 | gpl-2.0 | Python | |||||
Linux file search, instant results as you type |
Linux file search, instant results as you type
Attempt at making Linux version of Everything Search Engine because no one else bothered.
Everyone seems to be damn content with searches that are slow, populating results as they go; or are cli based, making it difficult to comfortably make use of the results; or are heavily integrated with a file manager, often limiting search to just home; or are trying to be everything with full-text file's content search.
A similar project worth attention - FSearch
Done in python 3 using PyQt5 for GUI
angrysearch can be set to two different modes in its config, default being lite
in ~/.config/angrysearch/angrysearch.conf
you control the mode with angrysearch_lite
being set to true or false
there are 3 search modes, default being fast
regex example:
~/.cache/angrysearch/angry_database.db
~/.config/angrysearch/angrysearch.conf
~/.local/share/applications/mimeapps.list
or ~/.config/mimeapps.list
Manual installation is easy as there's no compilation with python, process consists of having dependencies, copying files somewhere and setting execution permissions
dependencies - python3-pyqt5
, xdg-utils
you need PyQt5 for python3, for example ubuntu based distros: sudo apt install python3-pyqt5
most distros have xdg-utils out of the box
Now that you have the dependencies, download the latest release of angrysearch and unpack it somewhere. Along the files there's one called install.sh
, it will copy files where they belong and sets correct permissions.
open terminal in the directory with the release files
set install.sh
as executable and run it
chmod +x install.sh
sudo ./install.sh
DONE, if you want to see more detailed instruction, here is older version of this readme
optional-dependencies
fm_path_doubleclick_selects
Among the files there's angrysearch_update_database.py
When this file is run there's no interface, it just crawls through drives and updates the database
Using crontab you can set this file to be executed periodically at chosen intervals, keeping angrysearch up to date with the changes on your system
crontab -l
- list cronjobscrontab -e
- open text editor so you can enter new cronjobthis cronjob will execute the update every 6 hours
0 */6 * * * /usr/share/angrysearch/angrysearch_update_database.py
crontab does not try to catch up on a job if the PC has been off during scheduled time
notifications
setting turns on/off desktop notifications informing about automatic update finishing
conditional_mounts_for_autoupdate
can prevent autoupdate from running if set mount points are not present
Desktop notifications from cronjob not always work, so on your distro you might be without them
On update angrysearch crawls through your file system and creates its database.
The database has a column containing full path to every file and directory found, another column indicates if the path is to a file or a directory. If full mode
is enabled then there are also columns for the last modification date and for the size of files in bytes.
When typing in to the search input the path column is searched for the occurrences of typed text and the rows containing them are shown.
This is unlike other searches which usually look only through names of files/directories not their entire paths. This means that writing books
will show all the items with the term "books" somewhere on their path instead of just in the name.
On typical slow searches this would be too broad of a search with too many results, but the instantaneous nature of angrysearch allows to continue typing until the search is narrow enough.
The database uses FTS extension of sqlite for indexing to dramatically improve search speed and get the instantaneous feel - results as you type - fast mode
Drawback of this indexing is inability to do substring searches, but the checkbox in the top right corner can change this. If it's unchecked it will not use FTS tables and just do regular slower database search query - slow mode
In the fast mode
quotation marks can be used to make exact searches: 'torrent'
would not include "torrents" in the results.
angrysearch.py
file alone is all that is needed for full functionality. But no special icons or dark theme.
Hovering mouse over the update button will show how old is the database.
double-click on the items in search results:
Name
- the first column, opens the file in the application associated with its mimetype using xdg-openPath
- the second column, opens the item's location in the file managerResults can be sorted by clicking on column's headers, only the presented results will be sorted, meaning that by default max 500 items. To return to the default sort, sort by path column.
Hotkeys
F6
ctrl+L
alt+D
- focus search inputEnter
in search input- jump to resultsEnter
in search results - open selected item in associated applicationshift+Enter
- open items locationTab
- cycle through UI elementsshift-Tab
- cycle backward through UI elementsarrow up
arrow down
- navigate through search resultsEsc
ctrl+Q
- exit the applicationFTS5 is the new version of the indexing extension of sqlite, most distros don't have it yet and are on FTS4. The systems that do have it get two additional benefits in the fast mode
wav -home
would show all paths containing the word wav
except the ones also containing home
oko
would also show results like ôko
ókö
Okǒ
To check if FTS5 is available on your system - in update dialog window, hover mouse over the text • creating new database
~/.config/angrysearch/angrysearch.conf
angrysearch_lite
By default set to true. In the lite mode theres only file name and path, no file size and no last modification date. Less informations but faster crawling through the drivesclose_on_execute
By default set to false. Closes angrysearch after opening a file or a path in a file managerconditional_mounts_for_autoupdate
By default empty. Purpose is to hold mount points that should be present when the database is being updated. If a mount is missing, automatic update through crontab will not run, but use system notification dialog to inform that paths set in this settings are not mounted. This prevents overwriting the database when not all drives are present. Values are system mount points, space separated.darktheme
By default set to false. If set true dark theme is used for the applications interface, as defined in the qdarkstylesheet.qss, also resource_file.py contains icons for dark themedirectories_excluded
By default empty. Which directories to be ignored. Just name of the directory will ignore every directory of that name, full path like /var/cache/pacman/pkg/
ignores exactly that single folder, or parent/target for more easily targeting specific folder pacman/pkg
. Can be set through program's interface, in the update window. Directory /proc
is hard coded to be ignoredfast_search_but_no_substring
By default set to true. It holds the last set value of the checkbox affecting the speed of search and substrings, see FTS4 in the section abovefile_manager
By default empty. Whatever application/script is put there, it receives the path when the path column is double-clicked. If left empty angrysearch will try to autodetect default file manager using xdg-utils. If one of the following file managers are set/detected: ['dolphin', 'nemo', 'nautilus', 'doublecmd'], the behavior will change slightly, sending to those file managers full path to the file, highlighting the target file when opened in a file manager.fm_path_doubleclick_selects
By default set to false. Needs xdotool
package, and preferably manually set file manager in config. When set to true, Thunar, PCmanFM and SpaceFM file managers will be able to open containing directory with the file selectedicon_theme
By default set to adwaita. Which icon theme to use, can be set from program's interface in the update window. There are 6 icon types - folder, file, audio, image, video, text. Did not yet figure out how to get theme of the distro and reliably icon from file's mimetype, so packing icons with the angrysearch is the waynotifications
By default set to true. Automatic periodic updates that are run on background using crontab will use desktop notification system to inform when crawling is done or if it was aborted because of missing mount pointsnumber_of_results
By default set to 500. Limit set for searches in the database. Lower number means search results come fasterregex_mode
By default set to false. Enables regex search mode. F8 key toggles between true/false when running the applicationrow_height
By default set to 0 which means default system height. Sets height of the rows in pixelstyping_delay
By default set to false. If enabled, it introduces 0.2 second delay between the action of typing and searching the database. This will prevent unnecessary database queries when user is typing fast as there is waiting to finish typing. This can improve performance on slower machines, but on modern ones it might negatively affect the feel of instant responsiveness[Last_Run]
The applications properties from the last time at the moment when it was closed - window size, position, state