shreyash ranjan

/slope

Self-hosted personal finance dashboard for one user.

Next.js + Postgres Plaid Read-Only WebAuthn Passkeys

01 features

slope / home click image to zoom
Slope Net Worth dashboard

Net Worth

Slope sums every account balance daily. It shows only days where every account balance is known.

02 how to get started

Node 22 pnpm 10 Postgres 16 Plaid keys

Clone

Clone the repository and open the folder.

git clone https://github.com/codingshreyash/slope.git && cd slope

Install & Configure .env.local

Install dependencies, copy the example environment file, and generate a 32-byte key for SLOPE_ENCRYPTION_KEY. Set DATABASE_URL, PLAID_CLIENT_ID, PLAID_SECRET, and CRON_SECRET inside .env.local.

pnpm install
cp .env.example .env.local
node -e "console.log(require('crypto').randomBytes(32).toString('base64'))"

Migrate Postgres

Start Postgres and apply the database schema.

docker compose up -d db && pnpm db:migrate

Start & Claim with Passkey

Start the server, open http://localhost:3000/setup, and register your passkey.

pnpm dev

03 security & privacy

Encryption

AES-256-GCM token sealing

Slope encrypts every Plaid access token with AES-256-GCM before it writes to Postgres.

Authentication

WebAuthn passkeys

Slope protects your dashboard with hardware-backed passkeys and an idle session lock.

Access Scope

Single-user read-only Plaid

Slope connects to Plaid in read-only mode for one owner and cannot move money.

Data Integrity

Zero fabricated history

Slope displays only days where every account balance is known and never invents missing points.