Remote-Url: https://github.com/coleifer/sqlite-web Retrieved-at: 2021-08-04 10:46:29.375993+00:00 sqlite-webis a web-based SQLite database browser written in Python.Project dependencies:InstallationUsage$ sqlite_web /path/to/database.dbFeaturesWorks with your existing SQLite databases, or can be used to create new databases.Add or drop:TablesColumns (yes, you can drop and rename columns!)IndexesExport data as JSON or CSV.Import JSON or CSV files.Browse table data.ScreenshotsThe index page shows some basic information about the database, including the number of tables and indexes, as well as its size on disk:Thestructuretab displays information about the structure of the table, including columns, indexes, and foreign keys (if any exist). From this page you can also create, rename or drop columns and indexes.Thecontenttab displays all the table data. Links in the table header can be used to sort the data:Thequerytab allows you to execute arbitrary SQL queries on a table. The query results are displayed in a table and can be exported to either JSON or CSV:Theimporttab supports importing CSV and JSON files into a table. There is an option to automatically create columns for any unrecognized keys in the import file:Command-line optionsThe syntax for invoking sqlite-web is:$sqlite_web [options] /path/to/database-file.dbThe following options are available:-p,--port: default is 8080-H,--host: default is 127.0.0.1-d,--debug: default is false-x,--no-browser: do not open a web-browser when sqlite-web starts.-P,--password: prompt for password to access sqlite-web. Alternatively, the password can be stored in the "SQLITE_WEB_PASSWORD" environment variable, in which case the application will not prompt for a password, but will use the value from the environment.-r,--read-only: open database in read-only mode.-u,--url-prefix: URL prefix for application, e.g. "/sqlite-web".-c,--certand-k,--key- specify SSL cert and private key.-a,--ad-hoc- run using an ad-hoc SSL context.Using dockerA Dockerfile is provided with sqlite-web. To use:$cddocker/#Change dirs to the dir containing Dockerfile$docker build -t coleifer/sqlite-web.$docker run -it --rm \-p 8080:8080 \-v /path/to/your-data:/data \-e SQLITE_DATABASE=db_filename.db \coleifer/sqlite-web