SinbadBetaby Tidal AI Open Sinbad
Documentation

The gallery

The gallery at /gallery shows work made with Sinbad, to open and try: apps, sites, games, documents, decks, pictures, films and sound. Pieces marked Made by Sinbad are Tidal AI's own examples. Every other piece is there because the person who made it chose to publish it, and only because of that.

Each piece has a page of its own at /gallery/<id>, with the piece running or shown in a frame, who made it (only if they chose to show their name), the demand that made it (only if they chose to show it), a Like button for signed-in accounts, Make something like this, which starts a new workstream from that demand (you choose to start it, and it spends your credits), and, for anyone signed in, Take a copy and Download the files, described below.

Sharing a piece#

Open a workstream, choose Share, and pick one thing it made: the web page (as an app, a site or a game), a Markdown document, a .slides.md deck, a picture, a film or a sound. Only the owner of a workspace can publish what it makes. Nothing in an incognito workspace can ever be published.

The sheet says in plain words what becomes public, and it is the same text that is recorded when you agree:

  • the output itself and its title, at an address of its own that anyone can open without an account, and that search engines can find;
  • the demand, only if you tick Show the demand beside it; others may then use it as a starting point;
  • your name, only if you tick Show my name. Never your email address;
  • whether any credit comes back to you (see below);
  • a separate box, off, Let this be used to train models. It needs the demand shown.

Publishing needs a second step: you tick that you have read it and want it public, and then press Publish. You can unpublish at any time, by holding the button. The piece disappears from its page, the gallery, the sitemap and its frame at once, and its files are deleted. Nobody can take a new copy of it from then on. Copies already taken stay with the people who took them.

What is checked first#

Before anything is shown, Sinbad checks that the files are of an allowed kind and size, that there is enough there to be worth showing, and that it is not a copy of a piece already in the gallery. It also looks in every file, minified scripts too, for private data, because anyone signed in to Sinbad can take a copy of what you publish:

  • It stops the piece, naming the file and what was found (never the value): the value of one of your workspace's secrets or of a secret variable of the workstream, a private key, a key or token of a well-known kind, and a database address with a password in it.
  • It asks you, file by file, about data that looks like real people's: email addresses, phone numbers and long runs of records in data files (JSON, CSV, XML, text) and scripts, and your own name or email address anywhere in the piece. For each file you say "this is sample data" (or, for your own details, "I mean this to be public"), or you leave that file out of the piece. The answer is kept with the piece, with the time. A file in a folder or with a name such as seed, sample, demo, fixture, mock or example is taken to be sample data and is only listed.

Check that it works shows the same list without publishing anything. Sinbad finds the common kinds, not everything: a name written into a sentence, a private photograph or a figure in a picture will not be found, so publish only what you are content to give away.

If a check fails, nothing is published and the sheet says why.

A piece runs in a frame that cannot reach Sinbad: no cookies, no storage shared with Sinbad, and no network. A piece that needs to fetch things from elsewhere to work will not work here. What a visitor does in a piece is kept for that visit only, in the page's memory, and reaches nobody, you included.

Taking a copy and running it yourself#

Anyone signed in to Sinbad can Take a copy of a piece, on its page or on its card in the gallery. A copy is a new workstream in a workspace of their own (not an incognito one) that holds the piece's files exactly as they were published, with a first version that says "Copied from ... in the gallery". No model runs and nothing is charged. A document or a deck is copied as the file it was written as, with its pictures, so it opens as that document. The files are another person's, so nothing in them is run by taking the copy.

From there the usual buttons do the rest: the preview, Repository to send the files to a repository on any git host, Ship to put it on a host, and Download. Download the files on a piece's page gives the same files as a zip without making a workstream. To run a copy on your own computer or servers: download it, or send it to a repository you own and take it from there. Pieces that are hidden, reported, or of a closed account cannot be copied. Tidal AI's own examples cannot be copied; use Make something like this on them.

Reporting a piece#

Every piece has Report this piece. A report from a signed-in account hides the piece at once while it is looked at. Reports go to Sinbad's support address and are recorded.

The credit back#

When the owner of the server turns it on, publishing a piece for the first time from a workstream gives a credit back, shown in your credit history as a credit for sharing a piece in the gallery. The amount and the limits (a few a day, a few in all, none for copies, none for new accounts) are in a settings file, and the sheet states the figures that apply. It is off until it is switched on.

For AI models#

  • GET https://tidal-ai.space/api/gallery lists the pieces as JSON, with sort (popular or latest), type (app, site, game, doc, deck, image, video, 3d, audio) and limit.
  • Every page has a Markdown twin with .md on the end: /gallery.md and /gallery/<id>.md.
  • Each piece's page carries CreativeWork data (schema.org), and all of them are in the sitemap.