Solel//dev docs home

Your developer account

On this page

You send apps with a , the same account people use at id.solel.io. You can sign in with GitHub.

Sign in# Link to: Sign in

  1. Open solel.dev/console.
  2. Sign in with your . New here? You can make one on the next page.

Set up your developer profile# Link to: Set up your developer profile

It’s all in the console, on Developer account. If you open Apps or Send a version first, the same two steps show there.

  1. Your publisher name. The name people see under your apps. It starts as your own name; change it if you publish under another, and choose Save name.
  2. The start of your apps' ids. Claim a prefix, like com.yourname, and choose Claim it. Every app you send must have an id that starts with it, like com.yourname.notes.

That’s all you need to send an app. There’s no signing out and in again: the console carries straight on.

A prefix is two or more lower-case parts in reverse-domain form, like a domain you own written backwards. It’s first come, first served, and two people’s prefixes can’t overlap. Prefixes starting with io.solel, com.solel, com.solel-io or solel are kept for .

You can change your publisher name or claim another prefix (up to 5) on the same page at any time. Your name and prefixes are kept in your , so they’re the same everywhere at . To give a prefix up, or to change your email or how you sign in, choose Open your at the bottom of the page.

Publish from your release workflow# Link to: Publish from your release workflow

This step is optional. A publish token lets your release workflow send each new version, so you don’t open the console for every release. It can only send apps whose ids start with one of your prefixes.

  1. On Developer account, under Publish from your release workflow, choose Make a token, then Make it. The name is filled in; change it if you have more than one workflow.
  2. Copy the token. It’s the only time it’s shown.
  3. Type your repository, like yourname/notes, and choose Open its secrets on GitHub. Name the secret SOLEL_APPS_PUBLISH_TOKEN, paste the token as its value and save it.
  4. Back in the console, choose I’ve copied it. The workflow step shows under your tokens: copy it into the workflow that releases your app, after the step that makes solel-app.json.
YAML
      - name: Send the version to Solel//apps
        env:
          SOLEL_APPS_PUBLISH_TOKEN: ${{ secrets.SOLEL_APPS_PUBLISH_TOKEN }}
        run: |
          jq -n --arg id "$(jq -r .id solel-app.json)" --arg v "$(jq -r .version solel-app.json)" \
            --arg m "$(base64 -w0 solel-app.json)" --arg sha "$(sha256sum solel-app.json | cut -d' ' -f1)" \
            '{appId: $id, version: $v, manifestBase64: $m, manifestSha256: $sha}' |
          curl -sS --fail-with-body https://solel.dev/api/apps/v1/releases \
            -H "Authorization: Bearer $SOLEL_APPS_PUBLISH_TOKEN" -H 'Content-Type: application/json' --data @-

An app’s first version goes through Send a version, where you write its store page. After that, this step sends each update and the store page stays as it is. Each version is checked and reviewed as if you’d sent it in the console. Stop it turns a token off for good.

Send screenshots from the workflow# Link to: Send screenshots from the workflow

Keep your store pictures in the repository and the workflow can send them too, so they change with the release. Upload each one with the same token, then name them in the release. A picture taller than it’s wide shows as a phone one.

YAML
          shots=$(for f in store/screens/*.png; do
            curl -sS --fail-with-body https://solel.dev/api/apps/v1/screenshots \
              -H "Authorization: Bearer $SOLEL_APPS_PUBLISH_TOKEN" --data-binary "@$f" | jq '{sha256}'
          done | jq -s .)

Then add --argjson shots "$shots" to the jq -n line and screenshots: $shots to what it builds. Pictures are PNG, JPEG or WebP, up to 2 MB each, 1 to 8 of them. Uploading the same picture again is fine.