Skip to content

o0th/tilde

Repository files navigation

tilde

Version License

Dinamic SVG generator for readmes

Usage

Markdown

[![<alt>](https://<endpoint>/<path>)](https://<link>)

Html

<p>
  <a href="https://<link>">
    <img src="https://<endpoint>/<path>" alt="<alt>">
  </a>
</p>

Endpoint

https://tilde.o0th.io

Badges

/badge/<size>/<rx>/<fg1>/<bg1>/<txt1>/<fg2>/<bg2>/<txt2>
Parameters Descriptions
size Badge size, 0 for small, 1 for large
rx Radius on the x-axis
fg1 Foreground for the badge's left side in hex
bg1 Background for the badge's left side in hex
txt1 Text for the badge's left side
fg2 Foreground for the badge's right side in hex
bg2 Background for the badge's right side in hex
txt2 Text for the badge's right side

Examples

Badges Codes
License /badge/0/0/F8F8F2/44475A/License/F8F8F2/6272A4/MIT
License /badge/0/2.5/F8F8F2/44475A/0/2.5/License/F8F8F2/6272A4/MIT
License /badge/1/0/F8F8F2/44475A/1/0/License/F8F8F2/6272A4/MIT

Version badges

Autorize-github

Automatically retrieve version from package.json inside github/gitlab repository. For github repository it is necessary to authorize the app following the link above.

For gitlab repository at the moment it works only for public ones. A gitlab app is under development.

/badge/version/<prov>/<org>/<rep>/<size>/<rx>/<fg1>/<bg1>/<txt>/<fg2>/<bg2>
Parameters Descriptions
prov One of github, gitlab
org Github/Gitlab's organization or username
repo Repository name
size Badge size, 0 for small, 1 for large
rx Radius on the x-axis
fg1 Foreground for the badge's left side in hex
bg1 Background for the badge's left side in hex
txt Text for the badge left side
fg2 Foreground for the badge's right side in hex
bg2 Background for the badge's right side in hex

Examples

Badges Codes
Version /badge/version/github/o0th/tilde/0/0/f8f8f2/44475A/Version/f8f8f2/ff79c6
Version /badge/version/gitlab/o0th/tilde/0/0/f8f8f2/44475A/Version/f8f8f2/ff79c6

Wakatime stats

/wakatime/<username>/stats/<display>/<range>/<width-in-px>/<number-of-columns>
Parameters Descriptions
username Wakatime username
display Display editors, languages, oss
range One of last_7_days, last_30_days, last_6_months, or last_year
width-in-px Width for the svg
number-of-columns Number of columns for item listing

Examples

[![Languages](https://tilde.o0th.io/wakatime/o0th/stats/languages/last_7_days/838/3)](https://github.com/o0th/tilde)
[![Editors](https://tilde.o0th.io/wakatime/o0th/stats/editors/last_7_days/415/2)](https://github.com/o0th/tilde)
[![Operating Systems](https://tilde.o0th.io/wakatime/o0th/stats/oss/last_7_days/415/2)](https://github.com/o0th/tilde)

Languages Editors Operating Systems

Sizing suggestions

Readme 1 1/2 1/3
Github profile 854/3 419/2 282/1
Github repository 838/3 415/2 271/1
Gitlab repository 892/3 444/2 294/1

Contribute

If you want to say thank you and/or support the active development add a ⭐ to the project or donate a ☕.

About

Dinamic SVG generator for readmes

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors