{"id":21244423,"url":"https://github.com/unyt-org/example-threads","last_synced_at":"2026-02-16T12:32:03.834Z","repository":{"id":196152523,"uuid":"693697921","full_name":"unyt-org/example-threads","owner":"unyt-org","description":"An example that showcases Threads using DATEX and UIX","archived":false,"fork":false,"pushed_at":"2025-03-21T19:49:00.000Z","size":1353,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-01-15T21:38:29.851Z","etag":null,"topics":["datex","multithreading","thread","uix","uix-example","unyt"],"latest_commit_sha":null,"homepage":"https://threads.example.unyt.org","language":"TypeScript","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/unyt-org.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},"funding":{"github":["unyt-org"],"patreon":"unyt","custom":["https://unyt.org/donate","https://shop.unyt.org"]}},"created_at":"2023-09-19T14:30:59.000Z","updated_at":"2025-03-21T19:49:04.000Z","dependencies_parsed_at":"2023-09-21T19:37:08.828Z","dependency_job_id":"929a8bb6-0cb7-4ed6-9e34-4269596c9229","html_url":"https://github.com/unyt-org/example-threads","commit_stats":null,"previous_names":["unyt-org/example-threads"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/unyt-org/example-threads","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unyt-org%2Fexample-threads","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unyt-org%2Fexample-threads/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unyt-org%2Fexample-threads/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unyt-org%2Fexample-threads/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/unyt-org","download_url":"https://codeload.github.com/unyt-org/example-threads/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unyt-org%2Fexample-threads/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29507902,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-16T09:05:14.864Z","status":"ssl_error","status_checked_at":"2026-02-16T08:55:59.364Z","response_time":115,"last_error":"SSL_read: 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":["datex","multithreading","thread","uix","uix-example","unyt"],"created_at":"2024-11-21T01:25:11.028Z","updated_at":"2026-02-16T12:32:03.814Z","avatar_url":"https://github.com/unyt-org.png","language":"TypeScript","funding_links":["https://github.com/sponsors/unyt-org","https://patreon.com/unyt","https://unyt.org/donate","https://shop.unyt.org"],"categories":[],"sub_categories":[],"readme":"# Example: Threads\n\nThis repository demonstrates the concepts of type-safe **Multi-Threading** based\non [DATEX](https://datex.unyt.org) and Web Workers. In this demo, we are\ncalculating the digits of PI and creating a\n[TOR vanity address](https://community.torproject.org/onion-services/advanced/vanity-addresses/).\n\n## Installation\n\n1. Install the **UIX command line tool** following the\n   [Getting Started](https://docs.unyt.org/manual/uix/getting-started#the-uix-command-line-tool)\n   guide in our documentation.\n\n2. Clone this repository to your local machine:\n\n   ```bash\n   $ git clone https://github.com/unyt-org/example-threads.git\n   ```\n3. Run the project local\n   ```bash\n   $ uix --port 8000\n   ```\n4. Navigate to your favourite web browser and open http://localhost:8000 to see\n   everything in action.\n\n## Structure\n\nThis diagram outlines the UIX default project structure.\n\n```\n.\n└── example-threads/\n    ├── common/\n    │   ├── components/\n    │   │   ├── MainPage.scss   // Main style declaration\n    │   │   └── MainPage.tsx    // Main component\n    │   ├── PI-Worker.ts        // Worker for PI calculation\n    │   └── TOR-Worker.ts       // Worker for TOR address gen\n    ├── frontend/\n    │   ├── entrypoint.css      // Front-end style declaration\n    │   └── entrypoint.tsx      // Front-end entrypoint\n    ├── app.dx                  // Endpoint config file\n    └── deno.json               // Deno config file\n```\n\n## Features\n\n- Threading\n- Multiple threads\n- Disposing of threads\n\n## Preview\n\n\u003cimg src=\".github/screenshot.png\" width=\"400\"\u003e\n\n---\n\n\u003csub\u003e\u0026copy; unyt 2025 • [unyt.org](https://unyt.org)\u003c/sub\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Funyt-org%2Fexample-threads","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Funyt-org%2Fexample-threads","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Funyt-org%2Fexample-threads/lists"}