Skip to content
@holectushq

holectus - drop-in file collection infrastructure

Batteries-Included file collection and management infrastructure with drop-in React components

Holectus

Document collection infrastructure for developers — a document collection API and React embeds for upload, review, expiry, and renewal inside your product, with signed webhooks.

Add document collection to your project in minutes — plug-n-play React components, a typed client, and webhooks against the hosted Holectus API.

Client SDKs (@holectus/core, @holectus/react, @holectus/next) are MIT on npm.

SDK and docs are ready; the hosted product is in open beta.

Install

npm install @holectus/react @holectus/core

On Next.js App Router, also install @holectus/next for createHolectusSessionRoute.

Quickstart

  1. Create an API key in the Holectus dashboard.
  2. Add a server session route that mints tokens via POST /api/auth/token (Next.js: createHolectusSessionRoute from @holectus/next).
  3. Mount DocumentChecklist (subject uploads) or DocumentManager (admin review).
import { DocumentChecklist } from '@holectus/react';
import '@holectus/react/styles.css';

export function SubjectDocuments({ subjectId }: { subjectId: string }) {
  return (
    <DocumentChecklist
      tokenEndpoint={`/api/holectus/session?subjectId=${encodeURIComponent(subjectId)}`}
    />
  );
}

Learn more

License

Published SDK packages are MIT. See LICENSE.

Pinned Loading

  1. holectus holectus Public

    Add document collection to your project in minutes. The document collection infrastructure for developers, with plug-n-play React components.

    1

Repositories

Showing 2 of 2 repositories

People

This organization has no public members. You must be a member to see who’s a part of this organization.

Top languages

Loading…

Most used topics

Loading…