{"id":16015241,"url":"https://github.com/djdeveloperr/scriptabletsx","last_synced_at":"2025-10-05T18:18:08.341Z","repository":{"id":135720074,"uuid":"424939309","full_name":"DjDeveloperr/ScriptableTSX","owner":"DjDeveloperr","description":"https://scriptable.app but with TypeScript(X). Make iOS widgets with TSX.","archived":false,"fork":false,"pushed_at":"2021-12-02T14:51:55.000Z","size":51,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-10T11:33:39.018Z","etag":null,"topics":["deno","ios","scriptable","tsx","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/DjDeveloperr.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},"funding":{"github":"DjDeveloperr"}},"created_at":"2021-11-05T12:24:34.000Z","updated_at":"2024-09-15T10:55:42.000Z","dependencies_parsed_at":"2023-04-24T18:03:06.651Z","dependency_job_id":null,"html_url":"https://github.com/DjDeveloperr/ScriptableTSX","commit_stats":{"total_commits":9,"total_committers":1,"mean_commits":9.0,"dds":0.0,"last_synced_commit":"ae717be5768763c991fc106a9865828417888d6c"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DjDeveloperr%2FScriptableTSX","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DjDeveloperr%2FScriptableTSX/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DjDeveloperr%2FScriptableTSX/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DjDeveloperr%2FScriptableTSX/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DjDeveloperr","download_url":"https://codeload.github.com/DjDeveloperr/ScriptableTSX/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247281576,"owners_count":20913195,"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":["deno","ios","scriptable","tsx","typescript"],"created_at":"2024-10-08T15:22:01.814Z","updated_at":"2025-10-05T18:18:03.312Z","avatar_url":"https://github.com/DjDeveloperr.png","language":"TypeScript","readme":"# ScriptableTSX\r\n\r\nA framework for [Scriptable](https://scriptable.app) to make creating iOS widgets with JavaScript easier, also adding support for TypeScript.\r\n\r\n## Usage\r\n\r\nInstall the CLI using [Deno](https://deno.land/):\r\n\r\n```\r\ndeno install -Afr --no-check -n scriptable https://raw.githubusercontent.com/DjDeveloperr/ScriptableTSX/main/cli.ts\r\n```\r\n\r\nAnd do `scriptable init \u003cname\u003e`. After this you can go in the project directory\r\nand do `scriptable bundle`, which will output a `bundle.js` file that you can use\r\non Scriptable.\r\n\r\nNote: add `--vscode` (or `-v`) flag to `scriptable init` to generate VS Code config to setup IntelliSense!\r\n\r\n## Example\r\n\r\n```tsx\r\nfunction MyWidget() {\r\n  return (\r\n    \u003cwidget\u003e\r\n      \u003ctext \r\n        font={Font.headline()}\r\n        color=\"#ff0000\"\r\n      \u003e\r\n        Hello, world!\r\n      \u003c/text\u003e\r\n    \u003c/widget\u003e\r\n  );\r\n}\r\n\r\n// MyWidget() would return ListWidget now\r\n```\r\n\r\n## TODO\r\n\r\n- Complete the `env.d.ts` types.\r\n- Maybe a small HTML renderer for Widgets to make development easier?\r\n\r\n## Credits\r\n\r\n`env.d.ts` is entirely based on https://docs.scriptable.app. Even the JS Doc comments.\r\n\r\n## License\r\n\r\nLicensed under [Apache 2.0](./LICENSE).\r\n\r\nCopyright 2021 (c) DjDeveloperr\r\n","funding_links":["https://github.com/sponsors/DjDeveloperr"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdjdeveloperr%2Fscriptabletsx","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdjdeveloperr%2Fscriptabletsx","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdjdeveloperr%2Fscriptabletsx/lists"}