No description
  • TypeScript 74.4%
  • JavaScript 24.5%
  • Shell 0.9%
  • CSS 0.2%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-07-25 21:35:27 +02:00
.husky Quality improvements: logo, pre-commit, tests, README, Pages deploy 2026-07-15 20:42:24 +02:00
css add styles + translations 2026-07-24 04:48:25 +02:00
demo feat: decouple ImageOverview from @fiduswriter/common 2026-07-18 20:23:11 +02:00
locale add styles + translations 2026-07-24 04:48:25 +02:00
scripts add styles + translations 2026-07-24 04:48:25 +02:00
src Update style file location 2026-07-25 10:34:54 +02:00
test Quality improvements: logo, pre-commit, tests, README, Pages deploy 2026-07-15 20:42:24 +02:00
.gitignore Initial commit 2026-07-14 09:20:45 +02:00
AGENTS.md Quality improvements: logo, pre-commit, tests, README, Pages deploy 2026-07-15 20:42:24 +02:00
eslint.config.mjs lint + use api connectors + switch to pnpm 2026-07-22 18:24:23 +02:00
jest.config.js feat: decouple ImageOverview from @fiduswriter/common 2026-07-18 20:23:11 +02:00
LICENSE Initial commit 2026-07-14 09:20:45 +02:00
logo.svg Quality improvements: logo, pre-commit, tests, README, Pages deploy 2026-07-15 20:42:24 +02:00
package.json 0.1.22 2026-07-25 21:35:27 +02:00
pnpm-lock.yaml update dependencies 2026-07-25 07:03:43 +02:00
README.md Use absolute Codeberg URL for README logo so it renders on npmjs.com 2026-07-25 19:49:01 +02:00
tsconfig.json lint + use api connectors + switch to pnpm 2026-07-22 18:24:23 +02:00

@fiduswriter/image-manager

@fiduswriter/image-manager

Image and media manager for Fidus Writer


What it does

Manages images and other media for Fidus Writer. Provides a client-side image database, an overview table for browsing images, an edit dialog for cropping and metadata, and a selection dialog for inserting images into documents.

Exports

Export Description
ImageDB Client-side connector to the server's image database
ImageOverview Overview component for browsing all images in the library
ImageEditDialog Dialog for editing image properties, cropping, and metadata
ImageSelectionDialog Dialog for selecting images to insert into documents

Installation

npm install @fiduswriter/image-manager

Usage

import {
  ImageDB,
  ImageOverview,
  ImageEditDialog,
  ImageSelectionDialog,
} from "@fiduswriter/image-manager";

Development

npm install          # Install dependencies
npm run build        # Compile TypeScript to dist/
npm run typecheck    # Check types without emitting
npm run lint         # Lint with ESLint
npm run format:check # Check formatting with Prettier

License

AGPL-3.0 — see LICENSE for details.