Skip to content
This repository was archived by the owner on Jun 15, 2025. It is now read-only.

Shuunen/snippets

Repository files navigation

Snippets

Code Climate maintainability GitHub license

logo

My personal snippets, tests, and things that are too small to have their own repo :)

Archived

This project is archived since it migrated to :

Tools

Repo Banner

In a terminal, cd to the root of your repo and run:

node path/to/one-file/repo-banner.cli.js

Here is the output of the cli running on this repository :

demo

It will generate a <project-name>-banner.svg file that you can use in your README.md file, here is the output for this repository :

demo

Todo

  • compress repo-banner output with svgo
  • let repo-banner find the color in manifest.json or index.html files
  • banner is displayed full width, so the height should be reduced by 40%
  • banner should be able to show something else than github + ts : vue + ts, vue + js, js, ts, etc

Thanks

  • Boxy Svg : simple & effective svg editor
  • Bun : super fast runtime for JavaScript and TypeScript
  • Github : for all their great work year after year, pushing OSS forward
  • Repo-checker : eslint cover /src code and this tool the rest ^^
  • Shields.io : nice looking badges to be proud of
  • Shuutils : collection of pure JS utils
  • Svg Omg : the great king of svg file size reduction
  • V8 : simple & effective cli for code coverage
  • Vitest : super fast vite-native testing framework

Stargazers over time

Stargazers over time

Page views

Views Counter

About

My personal - useful or not - snippets

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 7