GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - vana-com/personal-server: DEPRECATED: frozen v0.2.0 snapshot, not maintained. Use https://github.com/vana-com/personal-server-ts

This repository was archived by the owner on Oct 24, 2026. It is now read-only.
BranchesTags
Open more actions menu

Latest commit

 

History

197 Commits
197 Commits

Folders and files

NameName
Last commit message
Last commit date
.agents/skills
.agents/skills
 
 
.claude/skills
.claude/skills
 
 
.github
.github
 
 
.husky
.husky
 
 
docs
docs
 
 
packages
packages
 
 
scripts
scripts
 
 
tests/e2e
tests/e2e
 
 
.editorconfig
.editorconfig
 
 
.env.example
.env.example
 
 
.gitignore
.gitignore
 
 
.prettierignore
.prettierignore
 
 
.prettierrc
.prettierrc
 
 
.releaserc.yaml
.releaserc.yaml
 
 
CODE_OF_CONDUCT.md
CODE_OF_CONDUCT.md
 
 
CONTRIBUTING.md
CONTRIBUTING.md
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
SECURITY.md
SECURITY.md
 
 
commitlint.config.js
commitlint.config.js
 
 
eslint.config.js
eslint.config.js
 
 
package-lock.json
package-lock.json
 
 
package.json
package.json
 
 
tsconfig.base.json
tsconfig.base.json
 
 
tsconfig.json
tsconfig.json
 
 
vitest.config.ts
vitest.config.ts
 
 

Repository files navigation

Vana Personal Server

CI npm version License: MIT node >= 20 TypeScript 5.7

TypeScript implementation of the Vana Data Portability Protocol's Personal Server. Stores user data locally, serves it to authorized users via grant-enforced APIs, and syncs encrypted copies to storage backends.

Architecture

NPM workspaces monorepo with three packages:

Package Purpose
packages/core Protocol logic — auth, grants, scopes, storage, keys, gateway client
packages/server Hono HTTP server — routes, middleware, composition root
packages/cli Facade package for external tools (@opendatalabs/personal-server-ts)

By default, Personal Server uses ~/personal-server as its root namespace:

  • Data: ~/personal-server/data/
  • Config: ~/personal-server/config.json
  • Index: ~/personal-server/index.db
  • Server keypair: ~/personal-server/key.json
  • Access logs: ~/personal-server/logs/

Override the root with PERSONAL_SERVER_ROOT_PATH (for example, Data Connect can use ~/data-connect/personal-server).

Setup

node -v  # >= 20
npm install
cp .env.example .env   # dev/test master key — see file for details
npm run build

Run

npm start             # build + start server
npm run dev           # run from source (no build step)
PERSONAL_SERVER_ROOT_PATH=~/data-connect/personal-server npm start

The server starts on the port defined in ${PERSONAL_SERVER_ROOT_PATH:-~/personal-server}/config.json (default: 8080). Health check at GET /health.

Configuration

The server reads ${PERSONAL_SERVER_ROOT_PATH:-~/personal-server}/config.json on startup (created with defaults if missing).

{
  "server": {
    "port": 8080
  },
  "logging": {
    "level": "info",
    "pretty": false
  },
  "storage": {
    "backend": "local"
  }
}

Set "pretty": true for human-readable logs during development.

Server Registration

Register your server with the Vana Gateway so it can participate in the data portability network:

export VANA_OWNER_PRIVATE_KEY=0x...         # your owner wallet private key
npm run register-server                     # uses server.origin from config
npm run register-server https://my.server   # override server URL
PERSONAL_SERVER_ROOT_PATH=~/data-connect/personal-server npm run register-server

The script signs an EIP-712 ServerRegistration message with the owner key and POSTs it to the gateway. Once registered, GET /health will show delegation.registered: true.

Test

npm test              # run all tests
npm run test:watch    # watch mode
npm run test:e2e      # end-to-end tests (limited mocking)

Tests are co-located with source (foo.ts → foo.test.ts).

API

All authenticated endpoints use Authorization: Web3Signed <base64url(json)>.<signature> — no sessions, no cookies.

Endpoint Method Auth Purpose
/health GET None Health check
/v1/data/{scope} POST Owner Ingest data
/v1/data GET Builder List scopes
/v1/data/{scope} GET Builder + Grant Read data
/v1/data/{scope}/versions GET Builder List versions
/v1/data/{scope} DELETE Owner Delete data
/v1/grants GET Owner List grants
/v1/grants/verify POST None Verify grant signature
/v1/access-logs GET Owner Access history
/v1/sync/trigger POST Owner Force sync
/v1/sync/status GET Owner Sync status
/v1/sync/file/{fileId} POST Owner Sync specific file

Docs

  • DPv1 Protocol Spec — canonical protocol behavior
  • Architecture — design decisions and repo structure

About

DEPRECATED: frozen v0.2.0 snapshot, not maintained. Use https://github.com/vana-com/personal-server-ts

github.com/vana-com/personal-server-ts

Topics

data-portabilityopen-sourcepersonal-serverprivacytypescriptvanaweb3

Resources

Readme
MIT license

Code of conduct

Code of conduct

Contributing

Contributing

Security policy

Security policy
Activity
Custom properties

Stars

116 stars

Watchers

5 watching

Forks

21 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.