Giffium is a tool to generate a socially shareable gif from a diff of two snippets of code/config.
Giffium was inspired by Shiki Magic Move and Carbon/Ray.so.
It was created as part of the SolidJS Hackathon
This project leans heavily on these libraries:
Giffium is a monorepo managed by turborepo. The project also requires the use of pnpm to manage dependencies and Node.js version v22.10.0
To get started with the project, first install pnpm and install dependencies with pnpm i
.
pnpm i
To build the project, run the following command:
pnpm run build
This will build all the packages in the monorepo.
If you run into any issues, please check the pnpm docs for more information.
To run the playground, run the following command:
pnpm run dev
This will start all the playground in watch mode.
Note
When code is pushed to any branch, we automatically run a prettier auto-format action that may create a new commit if the code is not properly formatted. To avoid having to pull these auto-format commits, please run pnpm run format
locally before pushing your changes to the remote branch.
The project is built using SolidJS. If you are new to SolidJS, we recommend checking out their documentation and tutorials.
MIT License
Copyright (c) 2024 Chris Griffing
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.