Is the spark Viewer open source and what is it built with?
Updated
Yes. The spark Viewer hosted at spark.lucko.me is open source and is written in JavaScript using the React framework. The project is published on GitHub, and the site explicitly welcomes pull requests.
What the Viewer is built with
According to the site itself, the website/viewer is written in JavaScript using the React framework. That description covers the front-end application you interact with when you open a profile or heap summary in the browser.
Where the source lives
The Viewer is open-source'd on GitHub. The spark site also points to GitHub for more information about spark generally, so GitHub serves as the central place for both the project and the Viewer code. The site notes that pull requests are much appreciated, which confirms contributions are accepted rather than the code being published read-only.
What the Viewer does
The Viewer is an online tool for inspecting spark data. To use it:
- Generate a profile or heap summary using the appropriate spark commands.
- After the data has been uploaded, click the link to open the Viewer.
- Alternatively, generate or export a
.sparkprofileor.sparkheapfile and open it by dragging it into the box on the page.
The drag-and-drop box accepts only .sparkprofile or .sparkheap files.
Contributing
Because the Viewer is open source on GitHub and pull requests are welcomed, the practical path to contributing is to work from the GitHub repository rather than the hosted site. The site does not list a separate contribution guide for the Viewer beyond that invitation, so the repository itself is the place to check for how changes are proposed and reviewed.