Skip to main content

dumb web interface to search/browse indexed text files

Project description

dumb web search

  • index a directory of text files in sqlite database
  • web browse this directory
  • web search this directory with indexed text

how to run

./index.py --docroot /path/to/markdown/dir --database /path/to/database.sqlite index

HTTP_SERVER_BASEURL=/reverse/proxy/subpath HTTP_SERVER_PORT=1234 INDEX_DIR=/path/to/markdown/dir INDEX_DATABASE=/path/to/database.sqlite ./browse.wsgi

requirements

  • python3
  • sqlite to index/search text
  • wsgi to expose said app
  • jinja2 + bottle as web framework
  • pandoc

security

  • no authentication: put a reverse proxy in front of it with some login
  • no optimization for performance: put a reverse proxy to prevent hammering
  • pandoc is run to render markdown files, which may have its own problems

what could be better done

  • don't make markdown so much ingrained in this app

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

dumbwebsearch-0.1.3.tar.gz (3.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dumbwebsearch-0.1.3-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

File details

Details for the file dumbwebsearch-0.1.3.tar.gz.

File metadata

  • Download URL: dumbwebsearch-0.1.3.tar.gz
  • Upload date:
  • Size: 3.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.2

File hashes

Hashes for dumbwebsearch-0.1.3.tar.gz
Algorithm Hash digest
SHA256 99313aae1c6fae78f3a6ffa88b2e2e9270091bc44b081dc9d6d2d20ae5439ab4
MD5 48c7798bb3b197447264af8716177fed
BLAKE2b-256 5cdda74bddf671c4c4a8c703653e4fb6b0a1c50ea02e10774197eb136e4f8f27

See more details on using hashes here.

File details

Details for the file dumbwebsearch-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: dumbwebsearch-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 4.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.2

File hashes

Hashes for dumbwebsearch-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 a82ddbcfa3efd6941f6602db80dfb9bdc4a4bab3bc9ff54def0a7d24b1c0d317
MD5 ef4c2adc034bef6d120c299c9df60c5e
BLAKE2b-256 e48d925f3026ff3c61378c169a957577598c268076e2589a7719247d3e0807b7

See more details on using hashes here.

Supported by

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