{"id":16255844,"url":"https://github.com/lajbel/mandarina","last_synced_at":"2025-07-03T22:38:07.723Z","repository":{"id":129395321,"uuid":"604768190","full_name":"lajbel/mandarina","owner":"lajbel","description":"🍊 A visual novel JavaScript library","archived":false,"fork":false,"pushed_at":"2024-02-19T15:21:59.000Z","size":851,"stargazers_count":10,"open_issues_count":3,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-27T02:17:39.190Z","etag":null,"topics":["game-development","game-engine","kaboomjs","visual-novel"],"latest_commit_sha":null,"homepage":"https://lajbel.github.io/mandarina/","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lajbel.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-02-21T18:46:41.000Z","updated_at":"2024-08-17T15:06:08.000Z","dependencies_parsed_at":null,"dependency_job_id":"a714fb30-6223-4200-9521-c2a060ad19fe","html_url":"https://github.com/lajbel/mandarina","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/lajbel/mandarina","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lajbel%2Fmandarina","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lajbel%2Fmandarina/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lajbel%2Fmandarina/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lajbel%2Fmandarina/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lajbel","download_url":"https://codeload.github.com/lajbel/mandarina/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lajbel%2Fmandarina/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263415912,"owners_count":23463109,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["game-development","game-engine","kaboomjs","visual-novel"],"created_at":"2024-10-10T15:43:56.144Z","updated_at":"2025-07-03T22:38:07.685Z","avatar_url":"https://github.com/lajbel.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ![Mandarina 🍊](mandarinalogo.png)\n\n\u003cdiv align=\"center\"\u003e\nMandarina is a visual novel engine made for be simple. \u003cbr\u003e\u003cbr\u003e\n\n[![lajbel - mandarina](https://img.shields.io/static/v1?label=lajbel\u0026message=mandarina\u0026color=orange\u0026logo=github)](https://github.com/lajbel/mandarina \"Go to GitHub repo\")\n[![stars - mandarina](https://img.shields.io/github/stars/lajbel/mandarina?style=social)](https://github.com/lajbel/mandarina)\n[![forks - mandarina](https://img.shields.io/github/forks/lajbel/mandarina?style=social)](https://github.com/lajbel/mandarina) \u003cbr\u003e\n[![GitHub tag](https://img.shields.io/github/tag/lajbel/mandarina?include_prereleases=\u0026sort=semver\u0026color=orange)](https://github.com/lajbel/mandarina/releases/)\n[![issues - mandarina](https://img.shields.io/github/issues/lajbel/mandarina)](https://github.com/lajbel/mandarina/issues)\n\n\u003c/div\u003e\n\n\u003cdiv align=\"center\"\u003e\n\n[![View site - GH Pages](https://img.shields.io/badge/View_site-GH_Pages-2ea44f?style=for-the-badge)](https://lajbel.github.io/mandarina/)\n[![view - Documentation](https://img.shields.io/badge/view-Documentation-blue?style=for-the-badge)](https://github.com/lajbel/mandarina/wiki \"Go to project documentation\")\n\n\u003c/div\u003e\n\n## Features\n\n-   📖 Simple verbal language for creating visual novels.\n-   🧑‍💻 All in coding, no difficult visual editors.\n-   🎨 Fully customizable.\n-   👾 Easy to integrate minigames\n-   💥 Based in kaboom.js\n\n## An Example\n\nStart coding/reading mandarina code is quite simple!\n\n```js\nimport mandarina from \"mandarinavn\";\n\n// Init options\nconst m = mandarina({\n    textbox: {\n        textFont: \"comic-sans\",\n        textSize: 24,\n    },\n});\n\n// Define characters\nm.character(\"d\", \"Dude\");\nm.character(\"b\", \"Bro\");\n\n// Create the start chapter\nm.chapter(\"start\", () =\u003e [\n    // Show a background\n    m.bg(new m.k.Color(255, 255, 255)).fadeIn(),\n    // Show our character.\n    m.show(\"t\", \"normal\"),\n    // Say something.\n    m.say(\"t\", \"Hi, I'm Deffy!\"),\n    m.say(\"t\", \"What's your name?\"),\n    // Ask an input\n    m.input(\"name\"),\n\n    // Jump to another chapter\n    m.jump(\"ch1\"),\n]);\n\n// Start novel\nm.start();\n```\n\n![](https://i.imgur.com/kmwGiux.png)\n\n## Installation\n\n### NPM\n\nThe mandarina package is not already inside npmjs service, so you can install trough npm with\n\n```\nnpm i github:lajbel/mandarina@master\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flajbel%2Fmandarina","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flajbel%2Fmandarina","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flajbel%2Fmandarina/lists"}