Skip to main content

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

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-0.9.2.tar.gz (43.0 kB view details)

Uploaded Source

File details

Details for the file aiofilesearch-0.9.2.tar.gz.

File metadata

  • Download URL: aiofilesearch-0.9.2.tar.gz
  • Upload date:
  • Size: 43.0 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.7.0

File hashes

Hashes for aiofilesearch-0.9.2.tar.gz
Algorithm Hash digest
SHA256 51464090a87c17f758d5dec1378d516cb118377c512e3a0696455c57b8d66b16
MD5 5c2cf5344c4ac60d29551fa13e3c035e
BLAKE2b-256 e7cc1300af6ab68657819a30d7c0723b61b848a66ae12c032b103e53b25bae9a

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page