#manga #manhwa #webtoon #file #json-file #scanlation

yanked rsff

Core library of an application designed to facilitate the work of teams translating content such as manga, manhwa, manhua, webtoons, etc

1.2.0 Jan 31, 2025
1.1.0 Jan 31, 2025
1.0.0 Nov 17, 2023

#10 in #manga

Download history 235/week @ 2025-01-30 12/week @ 2025-02-06

247 downloads per month

Custom license

28KB
537 lines

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
}

Dependencies

~7MB
~100K SLoC