{"id":20976473,"url":"https://github.com/he4et/elseifplayer","last_synced_at":"2025-06-13T01:34:08.955Z","repository":{"id":48466495,"uuid":"351404455","full_name":"He4eT/elseifplayer","owner":"He4eT","description":"Interactive Fiction player for the web","archived":false,"fork":false,"pushed_at":"2024-01-27T02:49:58.000Z","size":3798,"stargazers_count":32,"open_issues_count":1,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-02T19:11:18.378Z","etag":null,"topics":["interactive-fiction"],"latest_commit_sha":null,"homepage":"https://he4et.github.io/elseifplayer/","language":"JavaScript","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/He4eT.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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}},"created_at":"2021-03-25T11:02:56.000Z","updated_at":"2025-01-31T03:49:34.000Z","dependencies_parsed_at":"2024-01-27T03:40:47.827Z","dependency_job_id":null,"html_url":"https://github.com/He4eT/elseifplayer","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/He4eT%2Felseifplayer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/He4eT%2Felseifplayer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/He4eT%2Felseifplayer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/He4eT%2Felseifplayer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/He4eT","download_url":"https://codeload.github.com/He4eT/elseifplayer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254160648,"owners_count":22024574,"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":["interactive-fiction"],"created_at":"2024-11-19T04:54:03.888Z","updated_at":"2025-05-14T14:31:28.139Z","avatar_url":"https://github.com/He4eT.png","language":"JavaScript","readme":"# ElseIFPlayer\n\nElseIFPlayer is an interactive fiction player for the web.\nIt's powered by [cheap-glkote](https://github.com/He4eT/cheap-glkote) and [Emglken](https://github.com/curiousdannii/emglken).\n\nPlayer available here: [https://he4et.github.io/elseifplayer/](https://he4et.github.io/elseifplayer/).\n\n## Getting Started\n\n- Ensure that you have Node.js and NPM installed on your system.\n- Install the required packages by running the command `npm install` in your project directory.\n- Launch the local development server using `npm run dev`.\n\n## Build\n\nTo create a production build, use the following command:\n```\nnpm run build \u003cpublic-url\u003e\n```\n\n- If you intend to host the player on `https://your.domain/`, use:\n  ```\n  npm run build /\n  ```\n- For hosting it in a specific directory like `https://your.domain/some-directory/`, use:\n  ```\n  npm run build /some-directory\n  ```\n\nThe finalized production bundle will be generated and stored in the `/docs` directory.\n\n## Direct links\n\nYou can provide a direct link to a specific game using the following URL format:\n```\n/#/\u003cmode\u003e/\u003cencodedURL\u003e/[theme]/\n```\n\n- `mode` specifies the player interface mode:\n  - `play`: the default multi-window mode\n  - `focus`: the single-window mode without additional windows, such as the status bar\n- `encodedURL` represents the location of the storyfile encoded with `encodeURIComponent`.\n- `theme` is optional and allows you to choose a specific UI theme.\n\n### CORS\n\nIf the player and your storyfile are located on different domains,\nyou need to use appropriate [CORS](https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS) settings.\n\nIf you cannot modify the server settings, you can use the [Parchment Proxy](https://iplayif.com/proxy/) as an alternative.\n\n### Direct Link Examples\n\n- [Play \"Lost Pig\" with default or last used theme](https://he4et.github.io/elseifplayer/#/play/https%3A%2F%2Fmirror.ifarchive.org%2Fif-archive%2Fgames%2Fzcode%2FLostPig.z8/)\n- [Play \"Lost Pig\" without statusbar with default or last used theme](https://he4et.github.io/elseifplayer/#/focus/https%3A%2F%2Fmirror.ifarchive.org%2Fif-archive%2Fgames%2Fzcode%2FLostPig.z8/)\n- [Play \"Lost Pig\" with Nord theme](https://he4et.github.io/elseifplayer/#/play/https%3A%2F%2Fmirror.ifarchive.org%2Fif-archive%2Fgames%2Fzcode%2FLostPig.z8/nord/)\n- [Play \"Lost Pig\" without statusbar with Dim theme](https://he4et.github.io/elseifplayer/#/focus/https%3A%2F%2Fmirror.ifarchive.org%2Fif-archive%2Fgames%2Fzcode%2FLostPig.z8/dim/)\n- [Play \"Lost Pig\" loaded with Parchment Proxy](https://he4et.github.io/elseifplayer/#/play/https%3A%2F%2Fiplayif.com%2Fproxy%2F%3Furl%3Dhttps%3A%2F%2Fifarchive.org%2Fif-archive%2Fgames%2Fzcode%2FLostPig.z8)\n\n## License\n\nElseIFPlayer is distributed under the MIT License.\nHowever, please remember to respect the licenses of the interpreters\nlisted on the\n[Emglken page](https://github.com/curiousdannii/emglken#included-projects).\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhe4et%2Felseifplayer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhe4et%2Felseifplayer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhe4et%2Felseifplayer/lists"}