30- [ ] add triggers to sidebar
31- [ ] add upload from SQL, CSV and JSON
32- [ ] add ability to connect to a non-val town Turso database
33- [x] fix wonky sidebar separator height problem (thanks to @stevekrouse)
34- [x] make result tables scrollable
5/**
6 * Every Val Town account comes with its own private
7 * [SQLite database](https://www.sqlite.org/) that
8 * is accessible from any of your vals.
9 * ([Docs ↗](https://docs.val.town/std/sqlite))
118
119// adapted from
120// https://github.com/tursodatabase/libsql-client-ts/blob/17dd996b840c950dd22b871adfe4ba0eb4a5ead3/packages/libsql-client/src/sqlite3.ts#L314C1-L337C2
121function rowFromSql(
122 sqlRow: Array<unknown>,
30- [ ] add triggers to sidebar
31- [ ] add upload from SQL, CSV and JSON
32- [ ] add ability to connect to a non-val town Turso database
33- [x] fix wonky sidebar separator height problem (thanks to @stevekrouse)
34- [x] make result tables scrollable
1Rarevibes is not responsible of any database loss
9 const openai = new OpenAI();
10
11 // Comprehensive Data Science and Database Tool Categories
12 const dataScienceToolCategories = [
13 {
9 const openai = new OpenAI();
10
11 // Comprehensive Data Science and Database Tool Categories
12 const dataScienceToolCategories = [
13 {
1Rarevibes is not responsible of any database loss
1# Uptime Checker & Status Page
2
3This is a free, hackable uptime/downtime monitor that sends you an email when the site doesn't return a 200. It also stores historical uptime and latency data in your Val Town SQLite, which is used to power a status page. It supports multiple URLs in the same database and status page.
4
5## Installation
447
448 // Here you could implement additional logic like:
449 // - Saving conversation to a database
450 // - Sending conversation via email
451 // - Generating a summary
160
161// ==============================================================================
162// SECTION 2: DATABASE FUNCTIONS
163// ==============================================================================
164
165function createDatabaseFunctions(sqlite, KEY, SCHEMA_VERSION) {
166 return {
167 async initialize() {
203 const SCHEMA_VERSION = 2;
204 const KEY = "geminichat";
205 const db = createDatabaseFunctions(sqlite, KEY, SCHEMA_VERSION);
206 await db.initialize();
207