Sign In

weasley-frame

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

weasley-frame

Open-source live-web research workspace that turns a prompt into a verifiable, refreshable dataset.

latest
Source
npmnpm
Version
1.0.0
Version published
Maintainers
1
Created
Source

Weasley Frame mark

Weasley Frame

Turn a plain-language research question into a sourced, refreshable dataset.

Apache-2.0 license Node.js 22+ Open source

Weasley Frame turns live web sources into verified tables

Weasley Frame coordinates search, extraction, schema inference, source verification, deduplication, and scheduled refreshes in one local-first workspace. Describe the table you need; the agents discover entities, investigate them in parallel, and produce rows you can inspect or export as CSV/XLSX.

Why Weasley Frame

  • Prompt to schema: infer useful columns and primary keys from a sentence.
  • Source-aware research: retain the URLs used to support collected data.
  • Parallel population: investigate independent entities concurrently.
  • Refresh schedules: run manually or every 30 minutes, 6 hours, 12 hours, day, or week.
  • Local credentials: keep provider keys in the operating-system keychain.
  • Portable data: browse in the UI and export CSV or XLSX.
  • Open development: Apache-2.0 source, contribution guide, and reproducible local stack.

Architecture

browser
  │
  ▼
Next.js 16 ─────── Convex functions + data
  │                         │
  └──────── Fastify API ────┘
                 │
            Mastra agents
                 │
       TinyFish + OpenRouter

The frontend never owns server-side authentication logic. Browser requests are proxied to the Fastify backend, while Convex owns the application data and functions. See AGENTS.md for repository-specific development constraints.

Quick start

Prerequisites:

  • Node.js 22 or newer
  • Git
  • Docker with Docker Compose
  • GNU Make

Install the launcher and verify the machine:

npm install --global weasley-frame
weasley-frame doctor

Install the managed source checkout and start the local stack:

weasley-frame install
weasley-frame start

The app opens at http://localhost:3500. The launcher stores its checkout under ~/.weasley/frame by default. Override it with WEASLEY_FRAME_HOME.

For a one-off installation:

npx weasley-frame doctor
npx weasley-frame install

Launcher commands

CommandPurpose
weasley-frame doctorCheck Node, Git, Docker, Compose, and Make
weasley-frame installClone a shallow managed checkout
weasley-frame updateFast-forward a clean managed checkout
weasley-frame startStart or recover the complete local stack
weasley-frame stopStop containers while preserving data
weasley-frame pathPrint the managed checkout path

The updater refuses to touch a modified checkout, so local work is never silently overwritten.

Develop from source

git clone https://github.com/potatohoney-p/weasley-frame.git
cd weasley-frame
make dev

make dev installs frontend and backend dependencies, starts PostgreSQL and self-hosted Convex, deploys the Convex functions, starts the local keychain bridge, then starts the frontend, backend, and Mastra Studio.

ServiceLocal URL
Weasley Framehttp://localhost:3500
Fastify backendhttp://localhost:3501
Convexhttp://localhost:3210
Convex dashboardhttp://localhost:6791
Mastra Studiohttp://localhost:4111

Common commands:

make dev                 # start or repair the stack
make convex-push         # deploy changes under frontend/convex
make seed-public-datasets
make down                # stop without deleting data
npm test                 # launcher regression tests
npm run build            # backend + frontend production builds

Provider configuration

The local setup screen stores credentials in your OS keychain.

VariableRequiredPurpose
TINYFISH_API_KEYYesWeb search and page retrieval
OPENROUTER_API_KEYYesModel routing for schema and research agents
RESEND_API_KEYNoDataset-ready email notifications
NEXT_PUBLIC_POSTHOG_KEYNoOpt-in product analytics

Create keys at TinyFish and OpenRouter. Weasley Frame is independent open-source software; provider names and marks remain the property of their respective owners.

Do not commit .env files or credentials. Local API keys are never written into the repository.

Project layout

weasley-frame/
├── bin/                 npm launcher
├── frontend/            Next.js UI + Convex functions
├── backend/             Fastify API + Mastra workflows
├── db/                  local PostgreSQL bootstrap
├── scripts/             release and authorization checks
├── tests/               launcher regression tests
└── docker-compose.dev.yml

Security and privacy

  • The local keychain bridge binds to 127.0.0.1 and requires a generated token.
  • Production auth remains in the backend; do not add frontend auth API routes.
  • Web research should target public information and respect source terms, robots policies, privacy, and applicable law.
  • Report vulnerabilities privately using the process in SECURITY.md.

Contributing

Issues and pull requests are welcome. Before opening a PR:

npm test
npm run build
bash scripts/verify-authz.sh  # requires the local stack

Please read CONTRIBUTING.md, keep credentials out of commits, and update docs when a command, environment variable, or architecture boundary changes.

Roadmap

  • Per-cell provenance views
  • Incremental refreshes
  • SQL query support
  • Browser automation for interaction-heavy sources
  • More deterministic schema and source-quality evaluation

License

Copyright 2026 Weasley Contributors. Released under the Apache License 2.0. Third-party dependencies retain their own licenses.

Keywords

weasley

FAQs

Package last updated on 02 Aug 2026

Related posts