Skip to content
Ukiji

Example profiles for searching subtitles from inside Ukiji.

Before you start

Ukiji ships with no providers. These are example profiles: each is a short file that tells Ukiji how to search one subtitle website. You still need your own account and API key for the site, and the key stays on your phone.

To import one, download it to your phone. In Ukiji, open Setup, then Providers, tap Add, then Import file and choose it. You can also open the downloaded file with Ukiji. Check the hosts it will contact, tap Save, then set your key from the provider’s menu. The guide has the full steps.

Profiles

  • OpenSubtitles

    Searches a large library of subtitles in many languages.

    Contacts
    api.opensubtitles.com
    What you need
    A free account and an API key from opensubtitles.com. Find the key under Profile, then API Consumers.

    Download profile for OpenSubtitles

    Ukiji is not affiliated with OpenSubtitles.

  • Jimaku

    Searches a Japanese subtitle site.

    Contacts
    jimaku.cc
    What you need
    A free account and an API key from jimaku.cc. Find the key under your Jimaku account settings.

    Download profile for Jimaku

    Ukiji is not affiliated with Jimaku.

Write your own profile

A profile is a JSON file. Its first field must be "format": "ukiji-provider"; that is how Ukiji recognises it, so the file can have any name. Ukiji also takes it from Paste JSON in Providers.

The example uses a made-up host, api.example.invalid. Replace the host and paths with your site’s.

JSON
{
  "format": "ukiji-provider",
  "version": 3,
  "id": "example-subs",
  "name": "Example Subs",
  "auth": {
    "type": "header",
    "name": "Authorization",
    "hosts": ["api.example.invalid"],
    "help": "Key from your account page"
  },
  "search": {
    "url": "https://api.example.invalid/v1/search?q={query}",
    "results": "data.items",
    "entry": {
      "id": "id",
      "name": "title",
      "altName": "titles.native",
      "show": "series.title"
    }
  },
  "files": {
    "url": "https://api.example.invalid/v1/items/{id}/files",
    "file": {
      "name": "name",
      "size": "size",
      "url": "url"
    }
  },
  "download": {
    "mode": "fileUrl"
  },
  "testQuery": "test"
}

Fields

format
Must be "ukiji-provider". This is how Ukiji recognises the file.
version
Use 3.
id and name
A short unique id, and the name shown in Ukiji.
auth.type
Where the key goes: header or query.
auth.name
The header or parameter name that carries the key.
auth.hosts
The only hosts the key is ever sent to.
search.url
The search address, with {query} where the search words go.
search.results
Where the list of results is in the reply.
search.entry.id, name, altName, show
Which fields give each result’s id, title, second title and show name.
files.url
The address that lists subtitle files, with {id} for the chosen result. Use files.inline instead if the search reply already lists them.
files.file.name, size, url
Which fields give each file’s name, size and download address.
download.mode
fileUrl if the file has its own address; request for sites that need a second step.
testQuery
A word Ukiji searches to check the profile works.

Your keys stay on your phone, only https addresses are allowed, and Ukiji shows the hosts for you to review before you save.