Skip to content

Latest commit

 

History

History
67 lines (43 loc) · 1.06 KB

README.md

File metadata and controls

67 lines (43 loc) · 1.06 KB

FZF worker

Cloudflare Worker that provides a fuzzy finder for videos hosted on a public oracle cloud bucket

Authors

API Reference

Search for video

  GET /git
  GET /repo

Responds with a link to this repository

  GET /${search}
Parameter Type Description
search string Required. The video you want to find

Responds with a webm video or an empty html file if nothing can be found

Run Locally

Clone the project

  git clone https://github.com/Endercass/fzfworker.git

Go to the project directory

  cd fzfworker

Install dependencies

  npm install

Start the local wrangler server

  npm run start

Deployment

To deploy this worker run

  npm run deploy

Appendix

  • Videos are downloaded externally to reduce overhead
  • Files are hosted on an Oracle Cloud Infrastructure object storage instance