sharepa Docs

What a page may do

A page on sharepa loads content from anywhere but only sends data to itself. That way, no fake login page on sharepa.page can harvest passwords.

Sending data#

TargetAllowed
/__sharepa/formularYes, see forms
window.sharepaTermineYes, see bookings
Other paths of the page itselfYes
External servers: Formspree, Mailchimp, your own APINo. The browser blocks forms and fetch to them.

Technically, sharepa sets form-action 'self' and connect-src 'self' data: blob:. If a page still tries to send data elsewhere, the app names the server after publishing. The page goes live as usual otherwise. Single pages can get an exception on request.

Loading content#

Images, fonts, stylesheets and scripts from other servers load as usual. Embedded content such as YouTube or Google Maps works.

Code#

  • HTML: a complete document.
  • React: a component as the default export. It is built with Tailwind and these libraries: Recharts, Lucide, eight shadcn components (Badge, Button, Card, Input, Label, Separator, Tabs, Textarea), Lodash, D3, PapaParse, Math.js and date-fns. Other imports stop the build with a message.
  • Size: up to 5 MB. Through the connector, pages with embedded images or over about 50,000 characters go through an upload link.
  • window.storage and window.claude only exist in Claude. They are missing on sharepa, and the app warns about it.

Forbidden fields#

Fields for passwords, credit card or other payment data and health data are rejected, in forms as well as in bookings.

Last updated