WS Demo for file search
Project description
# 🤙 Aio File Search 😂 #hackyhollidays
## AioHTTP + Preact + Parcel + Websockets
Search your local files through a Browser interface
This is just a demo project on how to integrate WS Streaming responses
into a Preact Web App.
## Install
``` pip install aiofilesearch ```
## Run
``` fsearch ```
* You need to have installed The silver search, and sublime if you want
to open results with it.
## Interesting Parts
- The front side uses preact + parcel bundler. So easy to start!
- The backend part uses asyncio subprocess to launch the ag command and start searching
- Results are streamded from the ag command to the websocket frontend.
## Todo
- Add configuration params
## Screenshot
![alt text](https://github.com/jordic/aiofsearch/raw/master/assets/screenshot.png "Screenshot")
## AioHTTP + Preact + Parcel + Websockets
Search your local files through a Browser interface
This is just a demo project on how to integrate WS Streaming responses
into a Preact Web App.
## Install
``` pip install aiofilesearch ```
## Run
``` fsearch ```
* You need to have installed The silver search, and sublime if you want
to open results with it.
## Interesting Parts
- The front side uses preact + parcel bundler. So easy to start!
- The backend part uses asyncio subprocess to launch the ag command and start searching
- Results are streamded from the ag command to the websocket frontend.
## Todo
- Add configuration params
## Screenshot
![alt text](https://github.com/jordic/aiofsearch/raw/master/assets/screenshot.png "Screenshot")
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
aiofilesearch-1.0.0.tar.gz
(48.2 kB
view details)
File details
Details for the file aiofilesearch-1.0.0.tar.gz
.
File metadata
- Download URL: aiofilesearch-1.0.0.tar.gz
- Upload date:
- Size: 48.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.6.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7175d675d5abf653e7ee1d48c554c14ca06fa489c28cdd73cc3d4b11ce028171 |
|
MD5 | feb0a183e31e8ba20b9e32f038b065b0 |
|
BLAKE2b-256 | 422e0df5f56805b27ccf1681f2e7c2e48db598d831ab8af4bca5dd39e2a6e025 |