• janpaul123 avatar
    valwriter
    @janpaul123
    Forked from stevekrouse/valwriter
    HTTP
  • pomdtr avatar
    webdav
    @pomdtr
    An interactive, runnable TypeScript val by pomdtr
    HTTP
  • nbbaier avatar
    sqliteExplorerApp
    @nbbaier
    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
    HTTP
  • pomdtr avatar
    sqliteExplorerApp
    @pomdtr
    Forked from nbbaier/sqliteExplorerApp
    HTTP
  • johnsmith avatar
    sqlite_admin
    @johnsmith
    Forked from stevekrouse/sqlite_admin
    HTTP
  • stevekrouse avatar
    browserbase
    @stevekrouse
    @jsxImportSource npm:hono@3/jsx
    HTTP
  • pomdtr avatar
    testBasicAuth
    @pomdtr
    An interactive, runnable TypeScript val by pomdtr
    HTTP
  • pomdtr avatar
    test_explorer
    @pomdtr
    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
    HTTP
  • serna avatar
    untitled_oliveLoon
    @serna
    Forked from stevekrouse/sqlite_admin
    HTTP
  • hlobil avatar
    untitled_lavenderMite
    @hlobil
    Forked from stevekrouse/sqlite_admin
    HTTP
  • stevekrouse avatar
    untitled_indigoNightingale
    @stevekrouse
    Forked from stevekrouse/blob_admin
    HTTP
  • stevekrouse avatar
    sqlite_admin
    @stevekrouse
    Forked from stevekrouse/reactExample
    HTTP
  • robsimmons avatar
    sqlite_admin
    @robsimmons
    Forked from stevekrouse/sqlite_admin
    HTTP
  • stevekrouse avatar
    untitled_maroonSwallow
    @stevekrouse
    Forked from pomdtr/testBasicAuth
    HTTP
  • pomdtr avatar
    blob_admin
    @pomdtr
    Forked from stevekrouse/blob_admin
    Script
  • pomdtr avatar
    static
    @pomdtr
    Static Vals Serve static content from val.town Usage First, fork this val to get your own http endpoint. Then create a val that uses a string as it's default export, or a single string export. The val must be either public or unlisted . export default `<static content>` You can then fetch the exported string from outside val.town using: curl 'https://<owner>-static.web.val.run/<val>.<extension>' The Content-Type will be dynamically set depending on the provided extension. Example https://pomdtr-static.web.val.run/val_town_readme_style.css Val Link
    HTTP
June 23, 2024