{"id":23913216,"url":"https://github.com/fs-frost/asu-go2js","last_synced_at":"2026-04-29T23:03:49.106Z","repository":{"id":48517340,"uuid":"443618535","full_name":"FS-Frost/asu-go2js","owner":"FS-Frost","description":"Asu is a library to work with subtitles on ASS format.","archived":false,"fork":false,"pushed_at":"2022-07-23T01:53:32.000Z","size":112,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-02-23T18:19:40.691Z","etag":null,"topics":["ass-subtitles","golang","gopherjs","javascript","library","typescript"],"latest_commit_sha":null,"homepage":"","language":"Go","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/FS-Frost.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-01-01T20:30:56.000Z","updated_at":"2022-01-08T14:46:56.000Z","dependencies_parsed_at":"2022-08-31T17:22:47.075Z","dependency_job_id":null,"html_url":"https://github.com/FS-Frost/asu-go2js","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/FS-Frost/asu-go2js","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FS-Frost%2Fasu-go2js","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FS-Frost%2Fasu-go2js/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FS-Frost%2Fasu-go2js/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FS-Frost%2Fasu-go2js/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/FS-Frost","download_url":"https://codeload.github.com/FS-Frost/asu-go2js/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FS-Frost%2Fasu-go2js/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261926381,"owners_count":23231363,"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":["ass-subtitles","golang","gopherjs","javascript","library","typescript"],"created_at":"2025-01-05T09:32:27.516Z","updated_at":"2026-04-29T23:03:48.969Z","avatar_url":"https://github.com/FS-Frost.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# asu-go2js\n\n[![Run tests](https://github.com/FS-Frost/asu-go2js/actions/workflows/main.yml/badge.svg)](https://github.com/FS-Frost/asu-go2js/actions/workflows/main.yml)\n\nAsu is a library to work with subtitles on [ASS format](https://en.wikipedia.org/wiki/SubStation_Alpha).\n\nasu-go2js is a port of [Asu](https://github.com/FS-Frost/Asu.Utilidades) (originally for .NET) written in Go and compiled to JavaScript with TypeScript support.\n\n## Requeriments\n\n-   [Go](https://go.dev) 1.17.9\n-   [Node.js](https://nodejs.org) 16.13.1\n-   [Yarn](https://classic.yarnpkg.com) 1.22.5\n-   [GopherJS](https://github.com/gopherjs/gopherjs) 1.17.0\n\n    ```shell\n    go install github.com/gopherjs/gopherjs@latest\n    ```\n\n-   [GNU Make](https://www.gnu.org/software/make) 4.2.1\n\n## Main make commands\n\n```shell\n# Compile Go to JavaScript\nmake build\n\n# Run both Go and JavaScript tests\nmake test\n```\n\n## Folder structure\n\n`go`: Go source code.\n\n`go/exports`: GopherJS exports.\n\n`js`: JavaScript source code.\n\n`js/dist`: JavaScript files produced by GopherJS targeting [Node.js](https://nodejs.org) and [Deno](https://deno.land) runtimes.\n\n`js/dist/asu.d.ts`: manually written type definitions.\n\n`js/dist/browser`: JavaScript files compiled by [esbuild](https://esbuild.github.io) targeting browsers.\n\n`js/tests`: JavaScript tests targeting `js/dist`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffs-frost%2Fasu-go2js","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffs-frost%2Fasu-go2js","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffs-frost%2Fasu-go2js/lists"}