rsff

Crates.iorsff
lib.rsrsff
version1.2.0
created_at2023-11-17 06:35:38.978551+00
updated_at2025-01-31 09:28:17.879843+00
descriptionCore library of an application designed to facilitate the work of teams translating content such as manga, manhwa, manhua, webtoons, etc.
homepage
repositoryhttps://github.com/NandeMD/rsff
max_upload_size
id1038764
size42,110
(NandeMD)

documentation

README

rsff

rsff` (scanlation file format) is the core library of an application designed to facilitate the work of teams translating content such as manga, manhwa, manhua, webtoons, etc.

Some Examples:

use rsff::{Document, Balloon};

// Create a default document.
let mut d: Document = Document::default();

// Create a default balloon.
let mut b: Balloon = Balloon::default();

// Add content to the balloon.
b.tl_content.push("This is a translation line.".to_string());

// Add balloon to the document.
d.balloons.push(b);

Basic Raw SFF JSON File:

{
  "METADATA_SCRIPT_VERSION": "Scanlation Script File v0.2.0",
  "METADATA_APP_VERSION": "",
  "METADATA_INFO": "Num",
  "balloons": [
    {
      "tl_content": ["num", "nam"],
      "pr_content": ["numnam"],
      "comments": [],
      "btype": "OT",
      "balloon_img": null
    },
    {
      "tl_content": ["num"],
      "pr_content": [],
      "comments": [],
      "btype": "DIALOGUE",
      "balloon_img": null
    }
  ],
  "images": null
}
Commit count: 10

cargo fmt