舟 (fune) · Guide
Set up your own server
On its own, Takoyaki keeps your library in a database on your phone. Give it a server and your library syncs there too, so it’s on every phone you sign in from — and you can invite friends to see what each other are reading. A server is a free Supabase project that you own — there’s no central Takoyaki server, so every group of friends runs its own. It takes about ten minutes, and you don’t need to write any code.
You’ll be the server’s admin. Whoever owns a Supabase project can see everything stored on it, so only invite people who are happy with you holding their library — and only join servers run by people you trust.
What you’ll need
- The Takoyaki app on your phone.
- A Supabase account (free; you can sign up with GitHub or an email address).
- A computer is easiest for the Supabase part, but a phone browser works too.
Steps
Make a Supabase project
Sign in at supabase.com/dashboard and choose New project. Give it any name (“Book Club”, say), pick the region closest to you and your friends, and set a database password. Keep that password somewhere safe — Takoyaki never asks for it. The free plan is plenty.
Wait a minute or two while Supabase sets the project up.
Run the setup script
Download the script that turns an empty project into a Takoyaki server:
Download takoyaki-setup.sqlIn your project, open SQL Editor and start a New query. Open the file, copy everything in it, paste it into the editor and press Run. The results below the editor show your owner code (like
SAKURA-4821-0937). Keep it for step 6.It creates the tables for libraries, friends and invites, and the rules for who can see what. It’s safe to run again: it only adds what’s missing, and shows the same owner code until you’ve used it.
Turn off email confirmation
Go to Authentication › Sign In / Providers › Email, turn off Confirm email, and save.
Supabase’s built-in email only reaches the members of your Supabase team, so your friends would never get their confirmation emails. (If you’d rather keep confirmation on, set up your own email sender under Authentication › Emails › SMTP Settings first.)
Copy the project’s address and public key
In Project Settings, find two things:
- The Project URL, under Data API. It looks like
https://abcdefgh.supabase.co. - The anon public key, under API Keys (on the Legacy API keys tab, if there is one). It’s a long string starting with
eyJ.
Never use the service_role or secret key, and never share it: it skips every privacy rule on the server. Takoyaki only ever needs the public key.
- The Project URL, under Data API. It looks like
Add it in the app
In Takoyaki, open Settings › 舟 (Takoyaki Boats) and choose Add my own server. Give it a name, paste the Project URL and the public key, and tap Connect. The app checks the setup script ran before it connects.
On a computer, you can do the same at takoyaki.samuineko.com/login: choose Add my own server, then paste the same two things.
Make your admin account straight away
Create your account on the new server right after connecting, with your owner codefrom the setup script. That account becomes the server’s owner: an admin no other admin can demote or remove (you can hand it on later, in the app’s Admin page). Nobody can sign up without a code, so a stranger who finds your server first can’t take it over. Everyone after you needs an invite code from you.
Your library on the phone starts syncing to the server as soon as you’re signed in.
Invite your friends
In Settings › 舟 (Takoyaki Boats), open your server’s menu and choose Admin. Tap + New code for each person, then use Share as join link to send it. You can add a passphrase to lock the link — send the passphrase a different way.
Your friends open the link and sign up with the invite code, then find each other by username and tap Add friend. On the website, the Admin page (Settings › Admin) has Share join link too, making a web link that opens in any browser.
Looking after your server
Members
The Admin page lists everyone on your server. You can remove someone — they keep their account but are locked out until you restore them — and revoke invite codes you no longer want used.
Updates
When Takoyaki needs something new on the server, this page will have a new script. Download it and run it the same way; your members and their libraries stay as they are.
The free plan
Supabase may pause a free project that hasn’t been used for a week. If that happens, the app can’t reach the server until you choose Restore on the project in the dashboard. Nothing is lost, and everyone’s phones keep their libraries in the meantime.
The website
Everyone on your server can use it at takoyaki.samuineko.com too: they open a join link there, or add the server with its address and key, then sign in. Someone on several servers sees their friends from all of them, and changes they make go to each.
Troubleshooting
- The app says the server isn’t set up. Check the setup script ran without errors, and that you pasted the whole file.
- A friend is told to confirm their email. Turn off Confirm email (step 3). Accounts made before you changed it can be confirmed under Authentication › Users.
- Sign-up says the invite code is wrong. Each code works once. Make a new one on the Admin page.
- I’ve lost the owner code. Run the setup script again: until someone signs up with it, it shows the same code.
The privacy policy explains what a server keeps and who can see it.