Vibecode Afforai

track this build4 phases, 12 steps, beginner friendly
KINDA · weekend project
price variesbuild time multi-daycategory 🔖 read it laterreplaced by 0 people

The visible document research assistant loop is buildable, but a credible replacement needs more than the first screen. Afforai earns its keep through data, import reliability, so expect a weekend or multi-day build and a narrower personal scope.

the project pack5 files · written for this build, step by step
README.md
# Afforai · indie build

A local document research library whose hard problems are getting text out of a PDF with positions you can point at, fetching correct metadata from the scholarly APIs politely, and never producing a citation that cannot be resolved back to a real span on a real page.

Estimated effort: **multi-day**. Work `BUILD_PLAN.md` top to bottom · every phase ends in a check that has to pass before the next one starts.

## Stack

| Part | Choice | Why |
| --- | --- | --- |
| Runtime | One local web application with a background worker, no account system | a personal library with logins is a service you now operate |
| Extraction | A PDF text extractor that returns page numbers and character positions, with OCR as an explicit fallback | a citation you cannot point at is not a citation |
| Metadata | Crossref and other open scholarly APIs, identified politely, with the user's value winning | guessing an author from a filename produces a library of confident errors |
| Retrieval | Keyword search and vector search together over structure-aware chunks | one of them finds the exact term and the other finds the paraphrase |
| Verification | Every generated claim carries a quote that must match the source text exactly | this is the feature, not a safeguard bolted on afterwards |
| Storage | Documents and the index on local disk, with an explicit record of what was sent where | research documents are often things you are not free to upload |

## Before you start

Have every one of these ready. The plan assumes them from step one.

- [ ] **Node.js 22 or newer** · free
  - Why: Runs the local application, the worker and the index.
  - Get it: nodejs.org, or nvm install 22.
  - Verify: node --version prints v22 or higher
- [ ] **An OCR engine for scanned documents** (optional) · free locally
  - Why: Scanned PDFs are common in older literature and the honest alternative to OCR is refusing the document, which you should still do when OCR is absent.
  - Get it: Tesseract from your package manager, or a hosted OCR you have a key for.
  - Verify: A scanned page produces text with page numbers preserved
- [ ] **A key for an answer-generating model** (optional) · pence per question
  - Why: Answers and comparisons need one, and it is also the boundary at which document text leaves the machine.
  - Get it: Create a key with its own spending limit.
  - Verify: A short question over one document returns sentences with quotes
- [ ] **A test corpus of awkward documents** · free
  - Why: Two-column papers, scanned reports and a document containing a results table are the three cases every part of this build is judged on.
  - Get it: Open-access papers plus one deliberately scanned document.
  - Verify: The corpus contains a two-column paper, a scanned file and a table
- [ ] **Your citation, retention and egress rules** · free
  - Why: Whether an unverified claim is ever shown, how long cached extractions are kept, and what may be sent to a hosted model are decisions the code enforces.
  - Get it: Write down all three before the first answer is generated.
  - Verify: Each appears in the configuration and in the README

## Quick start

Follow Phase 1 in `BUILD_PLAN.md`; it creates the project.

Then copy `.env.example` to `.env` and fill in the values it documents.

## Honest limits

This build deliberately does not replace:

- Automated publisher logins and paywall access.
- Licensed metadata and citation graphs.
- Shared team libraries with permissions.
- Automatic full-text acquisition from arbitrary sites.
- licensed scholarly metadata
- publisher-specific import reliability
- citation graph scale
- team libraries and institutional access

If one of those is essential to you, that is the reason to keep paying for Afforai, and the README should say so rather than pretend.

$ choose a build depth, inspect the files, then open the complete pack in your agent

why people still pay

Afforai: Researchers pay for correct metadata, resilient importers, citation coverage, and workflows that survive publisher and browser changes.

what you lose

xlicensed scholarly metadata

xpublisher-specific import reliability

xcitation graph scale

xteam libraries and institutional access

share on X ↗"I just replaced Afforai with one prompt"
the escape hatch

Don't feel like building it? These folks already made it free.

AnythingLLMPoint it at your files and bring your own model; the privacy is free, the compute is not.64kaug 2026open source↗OOpen NotebookNotebookLM on your own server; bring Docker, a model and realistic expectations about citations.36kaug 2026open source↗NotebookLMUpload the papers and interrogate them; Google pays the model bill and keeps the limits.$0free↗

all 3 free alternatives to Afforai →· no votes, no pay-to-list · just what's real

the numbers

Afforai pricing

planmonthlyannual (per mo)what you get
logically free$0/user$0/userPermanent free entry point; numeric document, storage and AI-use caps were not exposed by the JavaScript-only live page.
logically unlimitedcustom—Unlimited storage and unlimited AI usage are advertised; numeric fair-use thresholds and price were not exposed.

free tierfree plan exists, but numeric document, storage and AI-use caps could not be verified from the accessible JavaScript-only page

billingpaid Unlimited plan exists; exact monthly/annual cadence and price were not publicly exposed; 30-day money-back guarantee

hidden coststhe product and billing identity changed from Afforai to Logically; any unpublished fair-use threshold remains unknown

verified 2026-08-13 · source ↗

questions
Vibecode Afforai

Kinda. The core of Afforai is buildable in a weekend with the prompt on this page, but there are real gaps: licensed scholarly metadata, publisher-specific import reliability. Read the honest list above before committing.

How much does Afforai cost?

Afforai's pricing is usage-based or varies by plan · The official pricing URL is recorded, but a stable current amount was not safely recoverable in this pass. Do not publish a number until rechecked..

What do I lose by replacing Afforai?

Honestly: licensed scholarly metadata; publisher-specific import reliability; citation graph scale; team libraries and institutional access. If any of those are load-bearing for you, keep paying.

Is there an open-source alternative to Afforai?

Yes: AnythingLLM (Point it at your files and bring your own model; the privacy is free, the compute is not.) Open Notebook (NotebookLM on your own server; bring Docker, a model and realistic expectations about citations.) NotebookLM (Upload the papers and interrogate them; Google pays the model bill and keeps the limits.) All 3 curated free alternatives are at vibecodeit.com/afforai/alternatives. The prompt is for when you want it exactly your way.