sharepa

Build a website with Mistral's Le Chat and publish it

Updated:

Want to use sharepa straight from the chat? How to connect Claude or ChatGPT

Mistral's Le Chat writes you a page as HTML and shows it in the canvas as a preview right away. What is missing is a place on the web: the canvas stays in your chat. You copy the code, paste it at sharepa and pick an address. The page then runs under name.sharepa.page, with a password if you want.

For many people in Europe, Le Chat is the first choice because it is European. sharepa fits that: a Swiss provider, servers in the EU.

How it works

  1. Ask Le Chat for the page as one single HTML file, with the CSS and JavaScript inside. Le Chat opens the canvas with the code and a preview.
  2. Copy the code from the canvas. There is a button for it, otherwise select all and copy.
  3. Open app.getsharepa.ch/neu and paste the code.
Pasted code with a preview of the page next to it
  1. Compare the preview at sharepa with the one in the canvas. They should look the same. If not, an image or a font that was only available inside the canvas is usually missing.
  2. Pick an address, go live, confirm your email. Done.
Confirmation with the link to the finished page

What to watch out for with Le Chat

Le Chat likes to split CSS and JavaScript into separate files unless you explicitly ask for one file. At sharepa you need everything in one, hence the addition in the first step. If you get three blocks, ask for them to be merged.

Images from Le Chat's image generation are not reachable by address. Download them and put them on an image service, or let the page do without images. Fonts via Google Fonts work.

The canvas sometimes shows more than the browser will later, for instance when Le Chat includes libraries that are only available in its own preview. The preview at sharepa is what counts, it shows what visitors see.

What it costs

Le Chat is free in its basic version, and sharepa offers three pages for free, each with a certificate and optionally a password. One of them can run under your own domain.

Questions

Can Le Chat publish the page itself?

No. The canvas is a workspace in the chat, not a website. For an address you need a service like sharepa.

What if I want the page in French and German?

Two pages, two addresses, say course-fr.sharepa.page and course-de.sharepa.page. Both count towards the free limit of three pages.

Does the sharepa connector work with Le Chat?

Not yet. The connector works with Claude today. With Le Chat, copy and paste remains the way.

Try it for free