mirror of
https://github.com/Xevion/find-syntax.git
synced 2025-12-06 13:15:04 -06:00
aaed5e6cdfaebbb18b784b6e640d83f48e9917e2
find-syntax
An experiment to try and find the ideal syntax highlighter for an arbitrary snippet.
- Given a snippet of code, query the GitHub Markdown API to generate highlighted HTML.
- Determine the complexity and level of color in the generated HTML.
- Report and display the results, showing the "best" syntax highlighter for the snippet.
Goals
- Memory caching of API results to prevent unnecessary requests.
- Automatic rate limiting and threading optimizations with Tokio, Governor, and Reqwest.
- GitHub Token & User-Agent compliance.
- Heuristics for determining the "best" syntax highlighter for per-request efficiency and overall speed.
Future
Description
Languages
Rust
100%