1# ☔️ Umbrella reminder if there's rain today
2
3
4
5## Setup
21
22 // Retrieve HTCI API key from environment variables
23 const apiUrl = 'https://hcti.io/v1/image';
24
25 const apiKey = Deno.env.get("HTCI");
57 return new Response(pngBuffer, {
58 headers: {
59 'Content-Type': 'image/png',
60 'Cache-Control': 'public, max-age=604800, immutable'
61 },
63 } catch (error) {
64 console.error('Error converting SVG to PNG:', error);
65 return new Response('Error generating image', { status: 500 });
66 }
67}
3View and interact with your Val Town SQLite data. It's based off Steve's excellent [SQLite Admin](https://www.val.town/v/stevekrouse/sqlite_admin?v=46) 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](https://github.com/invisal/libsql-studio) by [invisal](https://github.com/invisal). This is now more an SPA, with tables, queries and results showing up on the same page.
4
5
6
7## Install
4
5
6
7
8
1Fancy animated SVGs in readmes, along with centering and image sizing.
2```
3<div align="center"><img width=200 src="https://gpanders.com/img/DEC_VT100_terminal.jpg"></div>
89 {
90 headers: {
91 "Content-Type": "image/svg+xml",
92 },
93 },
1import urlHeader from "https://esm.town/v/substrate/urlHeader";
2import Exa from "npm:exa-js";
3import { ComputeText, GenerateImage, sb, Substrate } from "npm:substrate";
4const exa = new Exa(Deno.env.get("EXA_API_KEY"));
5const substrate = new Substrate({ apiKey: Deno.env.get("SUBSTRATE_API_KEY") });
3This is a lightweight Blob Admin interface to view and debug your Blob data.
4
5
6
7Use this button to install the val:
89 {
90 headers: {
91 "Content-Type": "image/svg+xml",
92 },
93 },
1Fancy animated SVGs in readmes, along with centering and image sizing.
2```
3<div align="center"><img width=200 src="https://gpanders.com/img/DEC_VT100_terminal.jpg"></div>