Giter Club home page Giter Club logo

typograssy's Introduction

header

ci deno.land vr scripts LICENSE

Generate SVG image like GitHub contribution graph (github-grass) with API.

You can configure the URL in the online editor with seeing preview.

Quick start

Markdown:

[![typograssy](https://typograssy.deno.dev/api?text=Hello%20world!)](https://github.com/kawarimidoll/typograssy)

HTML:

<a href="https://github.com/kawarimidoll/typograssy"><img alt="typograssy" src="https://typograssy.deno.dev/api?text=Hello%20world!"></a>

Features

โš™๏ธ Configurable

color

See parameters section.

๐Ÿ“œ Auto-scrolling

scroll

The pixels will scroll if the text can't be show at once.

๐Ÿ’ก You should put 'trailing space' to the URL to separate the last character and the first one.

๐Ÿ‡ฏ๐Ÿ‡ต Japanese support

japanese

You can check supported characters on characters.ts.

Parameters

โš ๏ธ Follow the color value format when you change the colors.

text [required]

  • type: string

The text that you want to show. It need to be less than 70 characters.

l0, l1, l2, l3, l4

  • type: string
  • default:
    • l0: ebedf0
    • l1: 9be9a8
    • l2: 40c463
    • l3: 30a14e
    • l4: 216e39

The color of the pixels. l0 is used as base color, the others are used as font color at random.

bg

  • type: string
  • default: ffffff

The color of the background.

frame

  • type: string
  • default: 000000

The color of the frame.

speed

  • type: number
  • default: 200

The speed of scrolling. 200 means that move 1 pixel per 200 milliseconds.

comment

  • type: string
  • default: Generated by kawarimidoll/typograssy

The comment on left bottom. It need to be less than 70 characters.

Color value format

  • hex value without hash symbol. e.g. 000, 123abc.
  • html color name. e.g. red, aqua.
  • none.

Contribution

All contributions are welcome!

Develop

This project is using Velociraptor as a task runner.

Confirm there is ~/.deno/bin in $PATH to use the scripts installed by deno install.

# install velociraptor
deno install -qAn vr https://deno.land/x/velociraptor/cli.ts
# install hook
vr

The scripts are defined in velociraptor.yml.

Local run

vr server

Format files

vr fmt

Lint files

vr lint

Run tests

vr test

Related pages

typograssy's People

Contributors

kawarimidoll avatar kidonng avatar web-flow avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

typograssy's Issues

Invalid upstream response (403)

Hello, I quite like this feature for the README file and implemented it like last week, but it seems to not work at the moment.

When clicking on my embed in my README I get: Invalid upstream response (403)
Has the requests quota been reached for Deno?
Resulting in the typograssy embed not being able to connect anymore?

image

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.