myflames
Copyright 2026 Vinicius Grippa and the myflames contributors

This product is licensed under the Apache License, Version 2.0 (see LICENSE).

Credits
-------
myflames is inspired by Brendan Gregg's FlameGraph
(https://github.com/brendangregg/FlameGraph) and Tanel Poder's SQL Plan
FlameGraphs
(https://tanelpoder.com/posts/visualizing-sql-plan-execution-time-with-flamegraphs/).

Third-party software
--------------------
The workspace icons (apps/workspace/src/icons.generated.ts, generated by
apps/workspace/scripts/vendor-hugeicons.mjs) are taken from
@hugeicons/core-free-icons 4.3.5 (https://hugeicons.com), Copyright (c) 2025
Hugeicons, licensed under the MIT License. Only the icons in use are included.

The Query editor's Format SQL loads sql-formatter 15.9.0
(https://github.com/sql-formatter-org/sql-formatter), Copyright (c) 2016-2020
ZeroTurnaround LLC and Copyright (c) 2020-2021 George Leslie-Waksman and other
contributors, and its dependency nearley 2.20.1
(https://github.com/kach/nearley), Copyright (c) 2014-2019 Kartik Chandra and
Tim Radvan, both licensed under the MIT License. They are built into a chunk
of the workspace (myflames/ui_assets) that loads on first use.

The Query editor is built on CodeMirror 6 (@codemirror/state 6.7.6,
@codemirror/view 6.43.15, @codemirror/commands 6.11.1, @codemirror/language
6.13.1, @codemirror/autocomplete 6.20.4, @codemirror/search 6.7.2 and
@codemirror/lint 6.9.7, https://codemirror.net) and the Lezer parser
toolkit (@lezer/common 1.5.4, @lezer/highlight 1.2.5 and @lezer/lr 1.4.11,
https://lezer.codemirror.net), Copyright (C) 2018-2021 by Marijn Haverbeke
and others (the Lezer packages: Copyright (C) 2018), all licensed under the
MIT License, together with their dependencies @codemirror/streamparser 6.0.0,
crelt 1.0.7, style-mod 4.1.4, w3c-keyname 2.2.8 and
@marijn/find-cluster-break 1.0.4 (same license, same copyright holder).
They are built into the lazy Query editor chunk of the workspace
(myflames/ui_assets).

The desktop app for macOS and Windows includes the MySQL command-line client
programs mysql and mysqldump from MySQL 8.4.13 Community Server
(https://www.mysql.com), Copyright (c) 1997, 2026, Oracle and/or its
affiliates, with the OpenSSL 3.5 libraries Oracle ships beside them
(licensed under the Apache License, Version 2.0). They are
separate programs that myflames runs as child processes, redistributed
unmodified from Oracle's release archives (macOS releases re-sign them with
the app's Developer ID), under the GNU General Public License version 2 with
the Universal FOSS Exception, version 1.0. Their license text, with the
third-party notices it includes, is in licenses/MySQL-Client-LICENSE (and in
mysql-client/LICENSE) inside the app. The corresponding source code is the
mysql-8.4.13 tag of https://github.com/mysql/mysql-server
(https://github.com/mysql/mysql-server/tree/mysql-8.4.13), also available as
https://cdn.mysql.com/Downloads/MySQL-8.4/mysql-8.4.13.tar.gz and from
https://dev.mysql.com/downloads/mysql/ (Source Code). Each myflames release that
includes these programs also carries that unmodified source archive
(mysql-8.4.13.tar.gz) among its downloads. The Windows installer
also includes the Microsoft Visual C++ runtime DLLs those programs load
(msvcp140.dll, vcruntime140.dll and vcruntime140_1.dll), copied unmodified from
Visual Studio's redistributable folder and redistributed under Microsoft's
Visual Studio license terms for distributable code.

History
-------
myflames began as a fork of FlameGraph, which is licensed under the Common
Development and Distribution License (CDDL) 1.0. No FlameGraph code remains in
this version: its flame graph renderers (myflames/flamegraph.py and
apps/workspace/src/charts/flamegraph.ts) are original implementations written
from a functional specification. The repository's earlier history, and
myflames releases up to and including 2.3.0, remain available under CDDL 1.0.

Bundled fonts
-------------
The workspace ships two fonts (apps/workspace/src/fonts, built into
myflames/ui_assets), both licensed under the SIL Open Font License 1.1:

Inter 4.1 (https://github.com/rsms/inter), the InterVariable.woff2 variable
font, Copyright (c) 2016 The Inter Project Authors. Its license text is
apps/workspace/src/fonts/Inter-LICENSE.txt.

JetBrains Mono 2.304 (https://github.com/JetBrains/JetBrainsMono), the
JetBrainsMono-Regular, JetBrainsMono-Italic and JetBrainsMono-Bold fonts,
Copyright 2020 The JetBrains Mono Project Authors. Its license text is
apps/workspace/src/fonts/JetBrainsMono-OFL.txt.

Adapted editor palettes
-----------------------
The following palettes are adapted for workspace contrast. Fire, Digital Rain
and Neon Grid are myflames originals under this project's Apache-2.0 license.

Dracula palette (https://github.com/dracula/dracula-theme)
MIT License
Copyright (c) 2023 Dracula Theme

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

Nord palette (https://github.com/nordtheme/nord)
MIT License
Copyright (c) 2016-present Sven Greb <development@svengreb.de> (https://www.svengreb.de)

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

Solarized Light palette (https://github.com/altercation/solarized)
MIT License
Copyright (c) 2011 Ethan Schoonover

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

Solarized Dark palette (https://github.com/altercation/solarized)
MIT License
Copyright (c) 2011 Ethan Schoonover

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

Tokyo Night palette (https://github.com/tokyo-night/tokyo-night-vscode-theme)
MIT License
Copyright (c) 2018-present Enkia

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

Gruvbox Dark palette (https://github.com/morhetz/gruvbox)
MIT/X11, as stated in the upstream README; no copyright year is stated.
Author: morhetz <morhetz@gmail.com>

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

Catppuccin Mocha palette (https://github.com/catppuccin/catppuccin)
MIT License
Copyright (c) 2021 Catppuccin

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

Catppuccin Latte palette (https://github.com/catppuccin/catppuccin)
MIT License
Copyright (c) 2021 Catppuccin

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

GitHub Light palette (https://github.com/primer/github-vscode-theme)
MIT License
Copyright (c) 2020 Primer

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

GitHub Dark palette (https://github.com/primer/github-vscode-theme)
MIT License
Copyright (c) 2020 Primer

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

One Dark palette (https://github.com/atom/one-dark-syntax)
MIT License
Copyright (c) 2016 GitHub Inc.

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

