Public
mjweaver01 avatar
mjweaver01
key_value_api
HTTP
Forked from brianleroux/key_value_api
0
stevekrouse avatar
stevekrouse
dateme_browse
Script
Forked from pomdtr/dateme_browse
0
fuafuafh avatar
fuafuafh
isMyWebsiteDown
Script
Forked from healeycodes/isMyWebsiteDown
0
pps avatar
pps
sqliteExplorerApp
HTTP
Forked from postpostscript/sqliteExplorerApp
0
todepond avatar
todepond
incremementCloudLabCountAntiSpam
HTTP
// Make SQLite table to store the count increments (with timestamps)
1
sitrucl avatar
sitrucl
sqlite_admin
HTTP
Forked from stevekrouse/sqlite_admin
0
pomdtr avatar
pomdtr
email_auth
Script
Email Auth for Val Town ⚠️ Require a pro account (needed to send email to users) Usage Create an http server, and wrap it in the emailAuth middleware. import { emailAuth } from "https://esm.town/v/pomdtr/email_auth" import { verifyUserEmail } from "https://esm.town/v/pomdtr/verifyUserEmail" export default emailAuth((req) => { return new Response(`your mail is ${req.headers.get("X-User-Email")}`); }, { verifyEmail: verifyUserEmail }); 💡 If you do not want to put your email in clear text, just move it to an env var (ex: Deno.env.get("email") ) If you want to allow anyone to access your val, just use: import { emailAuth } from "https://esm.town/v/pomdtr/email_auth" export default emailAuth((req) => { return new Response(`your mail is ${req.headers.get("X-User-Email")}`); }, { verifyEmail: (_email) => true }); Each time someone tries to access your val but is not allowed, you will get an email with: the email of the user trying to log in the name of the val the he want to access You can then just add the user to your whitelist to allow him in (and the user will not need to confirm his email again) ! TODO [ ] Add expiration for verification codes and session tokens [ ] use links instead of code for verification [ ] improve errors pages
6
aanand700 avatar
aanand700
sqliteExplorerApp
HTTP
Forked from nbbaier/sqliteExplorerApp
0
pomdtr avatar
pomdtr
test_sql
Email
An interactive, runnable TypeScript val by pomdtr
0
stevekrouse avatar
stevekrouse
dateme_sqlite
HTTP
This script is buggy... import { setupDatabase } from "https://esm.town/v/stevekrouse/dateme_sqlite" await setupDatabase()
0
endzel avatar
endzel
uptime
Cron
Forked from stevekrouse/uptime
0
vladimyr avatar
vladimyr
keyvhqSqlite
Script
// SPDX-License-Identifier: 0BSD
0
pomdtr avatar
pomdtr
lucia_demo
HTTP
@jsxImportSource npm:hono/jsx
0
carburo avatar
carburo
devstats
HTTP
Forked from tmcw/devstats
0
vladimyr avatar
vladimyr
keyvhq_example2
Script
Forked from vladimyr/keyvhq_example
0
gaimeri17 avatar
gaimeri17
notedGrayMink
HTTP
Forked from todepond/labLoginBanUser
0
Updated: April 3, 2024