Skip to content

AlexRogalskiy/weather-time

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Weather Time

Generate SVG weather-time

GitHub tag (latest by date) GitHub Release Date Lines of code GitHub closed issues GitHub closed pull requests GitHub repo size GitHub last commit GitHub GitHub language count GitHub search hit counter GitHub Repository branches GitHub Repository dependents

DeepSource DeepScan grade Codeac.io Tokei Mergify Status Reviewed by Hound DOI dependencies Status devDependencies Status

License: MIT Issue Forks Stars code style Maintainability Total alerts Language grade: JavaScript

codebeat badge Renovatebot Dependabot NewReleases Hits-of-Code ComVer Website

codecov CI GitHub Super-Linter GitHub JSON-Validator BCH compliance

Gitpod Ready-to-Code Chat Open questions Open bugs

Table of contents

Description

TypeScript Project Status: Active – The project has reached a stable, usable state and is being actively developed. Project created status Project updated status

Weather Time is a serverless function that generates dynamically styled weather images based on SVG (Scalable Vector Graphics). For the tech stack, Weather Time using Typescript and serverless function from Vercel stack.

How to use

It's simple, you can copy paste this markdown content, like this one:

![Weather Time](https://weather-time.vercel.app/api?theme=[value]&layout=[value]&animation=[value]&bgColor=[value]&opacity=[value]&colorPattern=[value]&primaryColor=[value]&secondaryColor=[value]&width=[width]&height=[height])

There are several options you can use from the list:

Options Description Type Example Query Params
[Theme] Theme of the image String default_repocard ?theme=[value]
[Layout] Layout of the image String churchill &layout=[value]
[Animation] Animation of the image String grow_out_in &animation=[value]
[Background Color] Background color of the image Hex color code ffffff &bgColor=[value]
[Opacity Pattern] Opacity of the background pattern Float number 0 - 1 &opacity=[value]
[Color Pattern] Color of the background pattern Hex color code 1abc9c &colorPattern=[value]
[Primary Font Color] Primary font color of the text Hex color code 000000 &primaryColor=[value]
[Secondary Font Color] Secondary font color of the text Hex color code 000000 &secondaryColor=[value]
[Width] Image width String 100% &width=[value]
[Height] Image height String 100% &height=[value]

Here is a list of supported image themes:

Name Value
Default default
Default repocard default_repocard
Dark dark
Radical radical
Merko merko
Gruvbox gruvbox
Tokyo night tokyonight
One dark onedark
Cobalt cobalt
Synth wave synthwave
High contrast highcontrast
Dracula dracula
Prussian prussian
Monokai monokai
Vue vue
Vue dark vue_dark
Shades of purple shades_of_purple
Night owl nightowl
Buefy buefy
Blue green blue_green
Algolia algolia
Great Gatsby great_gatsby
Darcula darcula
Bear bear
Solarized dark solarized_dark
Solarized light solarized_light
Chartreuse dark chartreuse_dark
Nord nord
Gotham gotham
Material pale night material_palenight
Gray white graywhite
Vision friendly dark vision_friendly_dark
Ayu mirage ayu_mirage
Midnight purple midnight_purple
Calm calm
Flag India flag_india
Omni omni
React react
Jolly jolly
Maroongold maroongold
Yeblu yeblu
Blueberry blueberry
State orange slateorange
Kacho ga kacho_ga
Arabesque arabesque

List of supported image layouts:

Name Value
Default default
Churchill churchill
Pluto pluto
Samuel samuel
Socrates socrates
Zues zues

List of supported image animations:

Name Value
Default default
Grow-out-in grow_out_in

Example

This is example of using Weather Time:

![Weather Time](https://weather-time.vercel.app/api?backgroundColor=%23FFFFFF&opacity=0.3&colorPattern=%23FFE0E9&fontColor=%230A83DC)

Result:

Weather Time

Visitor stats

GitHub page hits

GitHub stars GitHub forks GitHub watchers

Licensing

Weather Time is distributed under LGPL version 3 or later, [License]. LGPLv3 is additional permissions on top of GPLv3.

license

Authors

Weather Time is maintained by the following GitHub team-members:

  • Author

with community support please contact with us if you have some question or proposition.

Versioning

The project uses SemVer for versioning. For the versions available, see the tags on this repository.

Contribution

Contributors Display

Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us (emoji key).

This project follows the all-contributors specification. Contributions of any kind are welcome!

PRs Welcome Github contributors

See also the list of contributors who participated in this project.

Acknowledgement

Stargazers repo roster for @AlexRogalskiy/weather-time

Forks

Forkers repo roster for @AlexRogalskiy/weather-time

Issues

issuehunt-to-marktext

Team Tools

alt tag

Weather Time Team would like inform that JetBrains is helping by provided IDE to develop the application. Thanks to its support program for an Open Source projects!

Edit with Gitpod

Weather Time has experimental support for Gitpod, a pre-configured development environment that runs in your browser. To use Gitpod, click the button below and sign in with GitHub. Gitpod also offers a browser add-on, though it is not required.

OpenGraph Card

OpenGraph card

Development Support

Like Weather Time ? Consider buying me a coffee :)

Become a Patron Buy Me A Coffee KoFi


forthebadge forthebadge forthebadge