No description
Find a file
Naman Sood 9bb1fdac6a tailscale update
Signed-off-by: Naman Sood <mail@nsood.in>
2024-12-06 17:52:04 -05:00
static put delete button in corner so it's harder to misclick 2023-09-05 07:17:14 -04:00
tsproxy tsproxy: fix flag parsing 2023-09-26 19:11:44 -04:00
views datetime-local doesn't allow editing on mobile without step=1 2023-09-12 11:01:07 -04:00
.gitignore update tailscale version 2024-06-17 23:10:16 -04:00
db.js add ability to use https certs 2023-05-01 01:48:15 -04:00
go.mod tailscale update 2024-12-06 17:52:04 -05:00
go.sum tailscale update 2024-12-06 17:52:04 -05:00
index.js balance transfer 2023-09-05 07:50:15 -04:00
LICENSE.md initial commit 2023-04-29 23:18:26 -04:00
package-lock.json initial commit 2023-04-29 23:18:26 -04:00
package.json initial commit 2023-04-29 23:18:26 -04:00
README.md add tsnet support 2023-09-26 19:00:36 -04:00

glorified spreadsheet

a simple web app built to track my finances.

warning: do not use this to track your finances! it will most likely screw up eventually.

to deploy:

    cd glorified-spreadsheet
    npm i
    vim config.pii.js
    node index.js

add the following content to config.pii.js:

import { readFileSync } from 'fs';

const config = {
    port: 3001,
    https: {
        cert: readFileSync(PATH_TO_YOUR_HTTPS_CERT),
        key: readFileSync(PATH_TO_YOUR_HTTPS_PRIVATE_KEY)
    },
    db: 'database.db',
};

export default config;

runs on port 3000 if you don't specify a port, does not use https if you don't specify a cert, stores data in a file called blockchain.db if you don't specify a db filename.

to run as a tsnet service, run go run ./tsproxy, either with the TS_AUTHKEY environment variable set, or be prepared to click a login link from stdout. run that program with -port to specify the port in config.pii.js, -entrypoint to change index.js to something else, and -hostname to have it appear as something other than glorified-spreadsheet on your tailnet.

license

MIT license, see LICENSE.md.