janpaul123 avatar
janpaul123
valwriter
HTTP
Forked from stevekrouse/valwriter
0
pomdtr avatar
pomdtr
webdav
HTTP
An interactive, runnable TypeScript val by pomdtr
0
nbbaier avatar
nbbaier
sqliteExplorerApp
HTTP
SQLite Explorer View and interact with your Val Town SQLite data. It's based off Steve's excellent SQLite Admin val, adding the ability to run SQLite queries directly in the interface. This new version has a revised UI and that's heavily inspired by LibSQL Studio by invisal . This is now more an SPA, with tables, queries and results showing up on the same page. Install Install the latest stable version (v86) by forking this val: Authentication Login to your SQLite Explorer with password authentication with your Val Town API Token as the password. Todos / Plans [ ] improve error handling [ ] improve table formatting [ ] sticky table headers [x] add codemirror [ ] add loading indication to the run button (initial version shipped) [ ] add ability to favorite queries [ ] add saving of last query run for a table (started) [ ] add visible output for non-query statements [ ] add schema viewing [ ] add refresh to table list sidebar after CREATE/DROP/ALTER statements [ ] add automatic execution of initial select query on double click [x] add views to the sidebar [ ] add triggers to sidebar [ ] add upload from SQL, CSV and JSON [ ] add ability to connect to a non-val town Turso database [x] fix wonky sidebar separator height problem (thanks to @stevekrouse) [x] make result tables scrollable [x] add export to CSV, and JSON (CSV and JSON helper functions written in this val . Thanks to @pomdtr for merging the initial version!) [x] add listener for cmd+enter to submit query
21
pomdtr avatar
pomdtr
sqliteExplorerApp
HTTP
Forked from nbbaier/sqliteExplorerApp
0
johnsmith avatar
johnsmith
sqlite_admin
HTTP
Forked from stevekrouse/sqlite_admin
0
pomdtr avatar
pomdtr
testBasicAuth
HTTP
An interactive, runnable TypeScript val by pomdtr
2
pomdtr avatar
pomdtr
test_explorer
HTTP
Test Explorer Click on the play button next to list items to run them. Usage Fork this val Create new tests in any of vals (and export them) (see @pomdtr/example_test) import { assertEquals } from "https://deno.land/std@0.216.0/assert/mod.ts"; import { Test } from "https://esm.town/v/<account>/test_explorer"; export const exampleTestSuccess = new Test(() => { assertEquals(1 + 1, 2); }); export const exampleTestFailure = new Test(() => { assertEquals(1 + 1, 3); }); Go to https://<account>-test_explorer.web.val.run to run your test click on the val name to go to the val the tests are originating from click on the test name to run it ℹ️ You probably want to protect your test explorer behind an authentication middleware like @pomdtr/basicAuth Discovery mechanism In order to define a test, the user need to import the Test class from https://val.town/v/<account>/Test . So we can use the api to search for vals containing the https://val.town/v/<account>/Test string to locate the vals containing tests. Next, we need to extract the tests from the val exports. We use exported instanceof Test to filter them (at some point we will probably use static analysis for this). TODO [x] persist test results in sqlite [x] Improve styling (help welcome ❤️) [ ] View logs in a modal [ ] Batch http requests
6
parkerdavis avatar
parkerdavis
boldRoseWasp
HTTP
Forked from stevekrouse/sqlite_admin
0
hlobil avatar
hlobil
untitled_lavenderMite
HTTP
Forked from stevekrouse/sqlite_admin
0
stevekrouse avatar
stevekrouse
untitled_indigoNightingale
HTTP
Forked from stevekrouse/blob_admin
0
izuchukwu avatar
izuchukwu
sqliteExplorerApp
HTTP
Forked from pomdtr/sqliteExplorerApp
0
stevekrouse avatar
stevekrouse
sqlite_admin
HTTP
Forked from stevekrouse/reactExample
3
robsimmons avatar
robsimmons
sqlite_admin
HTTP
Forked from stevekrouse/sqlite_admin
1
stevekrouse avatar
stevekrouse
untitled_maroonSwallow
HTTP
Forked from pomdtr/testBasicAuth
0
oliver avatar
oliver
sqlite_admin
HTTP
Forked from stevekrouse/sqlite_admin
0
pomdtr avatar
pomdtr
blob_admin
Script
Forked from stevekrouse/blob_admin
0
Updated: June 23, 2024