{"id":28474189,"url":"https://github.com/jeremyfa/loreline","last_synced_at":"2026-04-02T14:05:53.387Z","repository":{"id":271635631,"uuid":"910281148","full_name":"jeremyfa/loreline","owner":"jeremyfa","description":"Open-source scripting language for writing interactive fictions","archived":false,"fork":false,"pushed_at":"2026-03-24T09:00:44.000Z","size":5291,"stargazers_count":37,"open_issues_count":2,"forks_count":1,"subscribers_count":3,"default_branch":"main","last_synced_at":"2026-03-24T21:05:37.174Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Haxe","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jeremyfa.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-12-30T21:48:53.000Z","updated_at":"2026-03-24T09:00:47.000Z","dependencies_parsed_at":null,"dependency_job_id":"b09fdcce-db27-488f-82c5-ff09d81999bf","html_url":"https://github.com/jeremyfa/loreline","commit_stats":null,"previous_names":["jeremyfa/loreline"],"tags_count":11,"template":false,"template_full_name":null,"purl":"pkg:github/jeremyfa/loreline","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeremyfa%2Floreline","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeremyfa%2Floreline/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeremyfa%2Floreline/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeremyfa%2Floreline/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jeremyfa","download_url":"https://codeload.github.com/jeremyfa/loreline/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeremyfa%2Floreline/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31307492,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-02T12:59:32.332Z","status":"ssl_error","status_checked_at":"2026-04-02T12:54:48.875Z","response_time":89,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":[],"created_at":"2025-06-07T13:06:22.660Z","updated_at":"2026-04-02T14:05:53.381Z","avatar_url":"https://github.com/jeremyfa.png","language":"Haxe","funding_links":[],"categories":["Haxe"],"sub_categories":[],"readme":"![Loreline](og-banner.png)\n\nA modern and open-source scripting language for writing **interactive fiction**.\n\nDesigned so writers can focus on story and dialogue while still having real programming tools (branching, state, functions) when they need them. If you write for games, visual novels, or any kind of branching narrative, this is for you.\n\nLoreline works everywhere: game engines, web apps, or standalone projects. It adapts to your tools, the stories you write stay portable.\n\n### Get started\n\nThe documentation and an interactive playground are available on **[loreline.app](https://loreline.app)**.\n\n## Building Loreline\n\nWhat follows is only needed if you want to modify Loreline from source. If you just want to use Loreline with your favourite engine, check out [the integrations guides](https://loreline.app/en/docs/).\n\n### Prerequisites\n\nBuilding Loreline from source requires [Node.js](https://nodejs.org/) (v18+).\nThe resulting outputs (JS library, C# library, native CLI) have no Node.js dependency.\n\n```sh\nnpm install    # Install Node.js dependencies (esbuild, tsx, etc.)\n```\n\n### Building\n\n```sh\nnode ./setup --js          # Build JavaScript library (js/loreline.js)\nnode ./setup --cs          # Export C# source files (cs/Loreline/)\nnode ./setup --cs --cs-dll # Export C# + build Loreline.dll\nnode ./setup --py          # Build Python package (py/loreline/)\nnode ./setup --lua         # Build Lua module (lua/loreline/)\nnode ./setup --cpp         # Build native CLI (loreline / loreline.exe)\nnode ./setup --cpp-lib     # Build C++ shared library\nnode ./setup --jvm         # Build JVM jar (jvm/loreline.jar)\n```\n\n### Setting up samples\n\n```sh\nnode ./setup --sample          # Set up all sample projects\nnode ./setup --sample web      # Set up loreline-web only\nnode ./setup --sample unity    # Set up loreline-unity only\nnode ./setup --sample cpp      # Set up loreline-cpp only\nnode ./setup --sample python   # Set up loreline-python only\nnode ./setup --sample lua      # Set up loreline-lua only\n```\n\nThis copies the built runtime and story files into the sample directories.\nFor loreline-web, run `--js` first. For loreline-unity, run `--cs` first.\nFor loreline-cpp, run `--cpp` first. For loreline-python, run `--py` first.\nFor loreline-lua, run `--lua` first.\n\n### Testing\n\nPython, Lua, JS, and JVM tests require running the corresponding build step first (e.g. `node ./setup --py` before Python tests).\n\n```sh\nnode run test ./test                    # Run Neko tests only\npython3 py/test-runner.py ./test        # Run Python tests only\nlua5.4 lua/test-runner.lua ./test       # Run Lua tests only\nnpx tsx js/test-runner.ts ./test        # Run JS tests only\njava -cp jvm/loreline.jar:build/jvm/test TestRunner ./test  # Run JVM tests only\nnode ./setup --test                     # Build and run all test suites (Neko + C# + C# AOT + JS + C++ lib + Python + Lua + JVM)\n```\n\n## License\n\nMIT License\n\nCopyright (c) 2025-2026 Jérémy Faivre\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjeremyfa%2Floreline","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjeremyfa%2Floreline","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjeremyfa%2Floreline/lists"}