Main JSON
Sora uses a simple JSON file to manage and integrate different streaming modules. You can easily configure new modules by editing this JSON file, adding details like the source name, URLs, and streaming settings.
JSON Fields
Fields Overview
Field |
Type |
Description |
Required? |
Variables |
|---|---|---|---|---|
|
string |
Name of the source. |
[x] |
|
|
object |
Information about the module’s author. |
[x] |
|
|
string |
Name of the author. |
[x] |
|
|
string |
Icon of the author. |
[x] |
|
|
string |
URL to the module’s icon. |
[x] |
|
|
integer |
Version of the module. |
[x] |
|
|
string |
Language of the module. |
[x] |
|
|
string |
Base URL of the source. |
[x] |
|
|
string |
Stream type of the module. |
[x] |
|
|
string |
Quality of the stream. |
[x] |
|
|
string |
Search URL of the source. Must include |
[x] |
|
|
string |
URL to the raw link of the JavaScript file. |
[x] |
|
|
boolean |
Set to |
[ ] |
|
|
boolean |
Set to |
[ ] |
|
|
boolean |
Set to |
[ ] |
|
|
string |
Category of what the site provides. Required for the module library. |
[ ] |
|
Full Format
{
"sourceName": "YourSourceName",
"iconUrl": "https://your-source.com/icon.png",
"author": {
"name": "AuthorName",
"icon": "https://your-source.com/author-icon.png"
},
"version": "1.0.0",
"language": "English (DUB)",
"streamType": "HLS",
"quality": "720p",
"baseUrl": "https://api.your-source.com/",
"searchBaseUrl": "https://your-source.com/search=%s",
"scriptUrl": "https://your-source.com/script.js",
"asyncJS": true,
"streamAsyncJS": false,
"softsub": true
}
Example
{
"sourceName": "Hianime",
"iconUrl": "https://raw.githubusercontent.com/50n50/maisgay/refs/heads/main/hianime/icon.png",
"author": {
"name": "50/50",
"icon": "https://encrypted-tbn0.gstatic.com/images?q=tbn:&s"
},
"version": "1.0.1",
"language": "English (DUB)",
"streamType": "HLS",
"quality": "720p",
"baseUrl": "https://api.animemundo.net/",
"searchBaseUrl": "https://api.animemundo.net/api/v2/hianime/search?q=%s",
"scriptUrl": "https://raw.githubusercontent.com/50n50/maisgay/refs/heads/main/hianime/hianime.js",
"asyncJS": true
}