Reference Packages
Packages
On this page
Which one do I install?
- A React application:
@rebofiles/reactfor the page,@rebofiles/serverfor the route. - A page without React:
@rebofiles/drive, and the server. - Changing a drive in a job of your own:
@rebofiles/core. - An assistant:
@rebofiles/mcp, beside the server.
@rebofiles/react
The whole drive as <FileDrive>, the headless hooks it is built from, and <SharedLink> for a link.
FileDrive, SharedLink, DriveProvider, useEntries, useEntry, useActions, useUploads, useSettings, useComments, useActivity, useTextSearch, useNotifications, useRequests, usePeople, useExpiring, useWithField, useDrive, createMemoryClient · its README
@rebofiles/drive
The whole drive without a framework, mounted on an element; the client of the routes; uploads, archives and pictures made in the page.
mountDrive, mountSharedLink, createDriveClient, createLinkClient, createMemoryClient, createUploads, refusalText, lookInDrive, downloadZip, writeZip, textOf, hashOf, CSS, TEXTS · its README
@rebofiles/server
The routes, authorize(), signed addresses, the bytes on S3 or a disk, the metadata in memory, SQLite or Postgres.
createDriveHandler, nodeHandler, byRoles, everyone, s3Storage, s3OptionsFrom, diskStorage, memoryMetadata, sqliteMetadata, postgresMetadata, checkType, clamav, Refused, openTelemetry, deriveAll · its README
@rebofiles/core
The model of a drive as pure functions: the tree, names, the trash, versions, sharing, search, activity. No dependencies.
emptyDrive, createFolder, addFile, move, rename, moveToTrash, addVersion, share, addLink, search, textMatch, activityOf, changes · its README
@rebofiles/mcp
Tools for an AI assistant, over HTTP or stdio, with the user’s own rights; with Rebodocs, its Word documents edited, each change a version.
createMcpHandler, serveStdio, TOOLS, allTools, documentTools, driveAt · its README
@rebofiles/sync
A folder of the disk kept as a folder of the drive, both ways: changes sent and taken, conflicts kept twice, moves followed. In the desktop application, and as a command.
syncOnce, watchSync, nodeFolder, loadState, saveState, rebofiles-sync · its README
The applications
Demos to run: the playground, the demo, a real bucket, the desktop and this site, each a folder of apps/.