Skip to content

paperlesspaper/openintegration-helloworld

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OpenPaper Integration Sample

This is a sample for a very simple implementation using the OpenIntegration of paperlesspaper.

Overview

This project renders a 7 Day view of a caldav-calendar that can be used in the paperlesspaper project.

How to use

Inside the app select New Image > Custom Integration and enter the url: https://openintegration-caldav.vercel.app/config.json

Key files

API behavior

The api/caldav.js endpoint requests the latest Caldav Feed, filters the next 7 Days of Events and extracts the minimal fields needed for the display, and returns them for consumption by the render.html

Development

Install the Vercel CLI once, then start the local dev server:

  1. npm i -g vercel
  2. vercel dev

The app will be available at http://localhost:3000. Use /config.json as the integration URL while developing and /render.html to see the preview.

Deployment

Deploy to Vercel and ensure the api directory is recognized as serverless functions. The static rendering uses render.html and does not require a build step.

Integration notes

These kinds of simple plugins can be generated by using the AI of your choice and INSTRUCTIONS.md for reference.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors