first commit
All checks were successful
Verify and publish Calio container / build-and-push (push) Successful in 1m4s

This commit is contained in:
Elijah 2026-10-20 19:04:12 -07:00
commit 6fc0a01c56
51 changed files with 11319 additions and 0 deletions

10
scripts/password.js Normal file
View file

@ -0,0 +1,10 @@
import { hashPassword } from "../server/auth.js";
// Read from stdin so passwords never need to appear in shell arguments.
let input = "";
for await (const chunk of process.stdin) input += chunk;
const password = input.trimEnd();
if (password.length < 12)
throw new Error(
"Use at least 12 characters. Pipe the password through stdin.",
);
console.log(hashPassword(password));