{"id":20032666,"url":"https://github.com/lucko/spark-viewer","last_synced_at":"2025-05-08T00:21:19.081Z","repository":{"id":40279391,"uuid":"135001715","full_name":"lucko/spark-viewer","owner":"lucko","description":"Web frontend for spark.","archived":false,"fork":false,"pushed_at":"2025-04-13T19:10:13.000Z","size":5280,"stargazers_count":94,"open_issues_count":22,"forks_count":31,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-13T20:21:18.720Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://spark.lucko.me/","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lucko.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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}},"created_at":"2018-05-26T23:32:24.000Z","updated_at":"2025-04-13T19:10:16.000Z","dependencies_parsed_at":"2024-03-29T12:30:22.403Z","dependency_job_id":"247fc7d4-2b07-4a00-b3ca-c5f3927b3a19","html_url":"https://github.com/lucko/spark-viewer","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lucko%2Fspark-viewer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lucko%2Fspark-viewer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lucko%2Fspark-viewer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lucko%2Fspark-viewer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lucko","download_url":"https://codeload.github.com/lucko/spark-viewer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252974393,"owners_count":21834251,"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":[],"created_at":"2024-11-13T09:38:41.691Z","updated_at":"2025-05-08T00:21:19.040Z","avatar_url":"https://github.com/lucko.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"![](https://i.imgur.com/ykHn9vx.png)\n\n# spark-viewer\n\n[spark](https://github.com/lucko/spark) is a performance profiling plugin/mod for Minecraft clients, servers, and proxies.\n\nThis repository contains the website \u0026 viewer for spark, written using [Next.js](https://nextjs.org/)/[React](https://reactjs.org)/[Typescript](https://www.typescriptlang.org/).\n\nThe website contains:\n\n-   a brief **homepage**\n-   **downloads** page which serves direct links to the latest release\n-   **documentation**, although this is managed in a [separate repository](https://github.com/lucko/spark-docs)\n-   a **viewer** web-app for spark data, which has modes for:\n    -   viewing the output from the spark **profiler**\n    -   viewing the output from spark **heap dump** summaries\n\n### Viewer\n\nThe viewer component of the website reads data from [bytebin](https://github.com/lucko/bytebin) (content storage service) and [bytesocks](https://github.com/lucko/bytesocks) (WebSocket server). It then renders this data as an interactive viewer in which the user can interpret and analyse their results.\n\nThe profile viewer renders the data as an expandable call stack tree, with support for applying deobfuscation mappings, searching, bookmarks and viewing as a flame graph.\n\nThe heap dump summary viewer renders a histogram of the classes occupying the most memory at the time when the data was collected.\n\n### Selfhosting\n\n#### Configuring URLs\n\nTo configure the URLs used by the application, you have to pass them as environment variables when building the application.\nIn the special case of using Docker, you have to pass them as build arguments.\n\nFor more information, see [`env.ts`](src/env.ts) and the [`Dockerfile`](Dockerfile).\n\n### Contributions\n\nYes please! - but please open an issue or ping me on [Discord](https://discord.gg/PAGT2fu) (so we can discuss your idea) before working on a big change!\n\n### License\n\nspark is free \u0026 open source. It is released under the terms of the GNU GPLv3 license. Please see [`LICENSE.txt`](LICENSE.txt) for more information.\n\nspark is a fork of [WarmRoast](https://github.com/sk89q/WarmRoast), which was also [licensed using the GPLv3](https://github.com/sk89q/WarmRoast/blob/3fe5e5517b1c529d95cf9f43fd8420c66db0092a/src/main/java/com/sk89q/warmroast/WarmRoast.java#L1-L17).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flucko%2Fspark-viewer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flucko%2Fspark-viewer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flucko%2Fspark-viewer/lists"}