Turn personal messages into code.
Syntax is an interactive experience that transforms personal messages into animated code, revealing it one character at a time.
Explore different programming languages, customize the code, and discover the message hidden behind the syntax.
- Animated code reveal — Watch code unfold character by character.
- Playback controls — Pause, resume, replay, and adjust animation speed.
- Automatic language detection — Identify the programming language from the current code.
- 19 supported languages — Syntax highlighting across 19 programming and markup languages.
- Import your own code — Import existing code and provide its original message.
- Prompt Studio — Prepare prompts and customize code-generation instructions.
- Message reveal — Reveal the original message associated with the code.
- Code editor — Edit the code and its original message.
Syntax supports 17 programming and markup languages:
JavaScript Python JSON TypeScript C++
Java Rust SQL Go C
C# PHP Ruby Swift Kotlin
Bash HTML
Human Cat Dog
Language syntax highlighting is powered by Prism.js.
- Node.js 18 or later
- npm
Clone the repository:
git clone https://github.com/amroklld/Syntax.git
cd SyntaxInstall dependencies:
npm installStart the development server:
npm run devOpen the local URL provided by Vite in your browser.
Build the application:
npm run buildPreview the production build locally:
npm run previewRun the automated test suite:
npm testThe test suite covers:
- Language detection across all 17 supported languages.
- Prism grammar availability.
- Regression tests for previously identified language detection conflicts.
Syntax displays code as text. Imported or generated code is never executed.
- React
- Vite
- Prism.js
- JavaScript
- CSS
- Node.js test runner
Syntax — Messages expressed through code.
