ch99q / solid-assets

Access official dynamic and static assets from SolidJS. Made for the community! 🌟

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Solid Assets

Solid Assets

Access official community assets for SolidJS through our simple asserts API; This provides the community with dynamic and static resources to get started with libraries and projects related to the SolidJS community.

Usage

To get a banner for a project, use the following url:

https://assets.solidjs.com/banner?project=<project-name>

If you want another type of background, you can choose between tiles and blocks.

https://assets.solidjs.com/banner?project=<project-name>&background=[tiles|blocks]

Development

The repository uses pnpm as the package manager. To install pnpm, run the following command in your terminal.

npm install -g pnpm

Run pnpm install to install all the dependencies for the packages.

Read more in Contributing.

Deployment

The repository is hosted on Cloudflare Workers. To deploy the repository, run the following command in your terminal.

pnpm run deploy

This will deploy the repository to Cloudflare Workers. For private deployments the url would be solid-assets.<username>.workers.dev. Read more about Cloudflare Workers

About

Access official dynamic and static assets from SolidJS. Made for the community! 🌟

License:MIT License


Languages

Language:TypeScript 83.7%Language:JavaScript 16.3%