switcher-searchdocs
SearchDocs is a search engine based on Deno Oak and Skimming Modules
1.4K
Switcher SearchDocs API uses Skimming and Oak Middleware modules to deliver a simple and efficient search engine.
deno task run:dev or test with deno task testRequest (GET)
{{url}}/api/check
Sample response
{
"status": "ok",
"releaseTime": "today",
"sslEnabled": false,
"appSettings": {
"url": "https://raw.githubusercontent.com/petruki/skimming/master/",
"files": "README.md",
"cacheExpDuration": "5",
"cacheSize": "100"
}
}
Request (GET)
{{url}}/?query=Usage&previewLength=-1&ignoreCase=false&trimContent=true
Sample response
{
"message": "Success",
"query": "Sk",
"result": [
{
"file": "README.md",
"segment": [
"Skimming is a data fetcher for Deno. The idea is to provide a simple and efficient module to fetch content.",
"Skimming from \"https://raw.githubusercontent.com/petruki/skimming/v1.0.0/mod.ts\";",
"Skimming({ expireDuration: 10, size: 10 });"
],
"found": 3,
"cache": true
}
]
}
Request (GET)
{{url}}/?url=https://raw.githubusercontent.com/denoland/deno/main/&files=README.md
Content type
Image
Digest
sha256:c5d58af28…
Size
53.1 MB
Last updated
about 2 months ago
docker pull trackerforce/switcher-searchdocs