GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - ohcnetwork/care_excalidraw_fe: A care plugin to support drawing using Excalidraw.

BranchesTags
Open more actions menu

Latest commit

 

History

9 Commits
9 Commits

Folders and files

NameName
Last commit message
Last commit date
public/locale
public/locale
 
 
src
src
 
 
.env
.env
 
 
.gitignore
.gitignore
 
 
.prettierignore
.prettierignore
 
 
.prettierrc
.prettierrc
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
components.json
components.json
 
 
eslint.config.js
eslint.config.js
 
 
index.html
index.html
 
 
package-lock.json
package-lock.json
 
 
package.json
package.json
 
 
tailwind.config.js
tailwind.config.js
 
 
tsconfig.app.json
tsconfig.app.json
 
 
tsconfig.json
tsconfig.json
 
 
tsconfig.node.json
tsconfig.node.json
 
 
vite.config.ts
vite.config.ts
 
 

Repository files navigation

CARE Excalidraw

A CARE plugin that embeds an Excalidraw whiteboard into CARE, letting clinicians sketch and annotate diagrams directly within patient workflows.

image

Built as a CARE micro-frontend using Module Federation. The plugin exposes a manifest that CARE loads at runtime from a remote remoteEntry.js.

Tech stack

  • React 19 + TypeScript
  • Vite 6 with @originjs/vite-plugin-federation
  • @excalidraw/excalidraw
  • Tailwind CSS v4
  • raviger (routing) and react-i18next (localization) — shared with the CARE host

Getting started

Clone the repository and install dependencies:

git clone https://github.com/ohcnetwork/care_excalidraw_fe
cd care_excalidraw_fe
npm install

Start the dev server (builds the federated bundle in watch mode and serves a preview):

npm run dev

The plugin is served at http://localhost:4173, with the federation entry at http://localhost:4173/assets/remoteEntry.js.

Connecting the plugin to CARE

Make sure you have CARE running locally, then:

  1. Open the CARE Admin Dashboard (usually http://localhost:4000/admin).

  2. Go to the Apps section and click Add New Config.

  3. Add a slug and set the following as the Meta:

    {
      "url": "http://localhost:4173/assets/remoteEntry.js",
      "name": "care_excalidraw"
    }
  4. Save the configuration and reload CARE.

The name must match the federation name in vite.config.ts (care_excalidraw). Changing one without the other will prevent CARE from resolving the remote module.

Via the CARE App Store

This plugin is published in the CARE Apps Registry as care_excalidraw. When installing through the App Store, CARE computes the meta.url from the configured App base URL as ${appBaseUrl}/assets/remoteEntry.js, so you only need to provide the base URL (e.g. http://localhost:4173 for local development or https://care-excalidraw.pages.dev for production).

License

MIT

About

A care plugin to support drawing using Excalidraw.

care-excalidraw.pages.dev

Topics

careexcalidraw

Resources

Readme
MIT license
Activity
Custom properties

Stars

1 star

Watchers

0 watching

Forks

0 forks
Report repository

Used by

Contributors

Languages

You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.