Skip to content

✨ The central glitter graphics repository for all glitterbots

Notifications You must be signed in to change notification settings

koole/glittercdn

Repository files navigation

GlitterCDN

The central glitter graphics repository

Netlify Status Test Status



This repo contains a list of Glitterplaatjes which are used by both Glitterbot for Slack and Glitterbot for Telegram. Changes to this repository are automatically deployed and all Glitterbots will be using

For more information about Glitterbot, visit the Glitterbot website or the Glitterbot for Slack GitHub repository.

Adding new Glitterplaatjes

  1. Fork and clone the repo to your own machine.

  2. Add your own Glitterplaatjes to the correct folders. Images should not be larger than 2MB, otherwise they won't automatically expand in Slack.

  3. Install dependencies by running yarn install or npm install.

  4. Run node cleanup.js to optimise your newly added Glitterplaatjes and generate an updated images.json file.

  5. Submit a pull request with your changes to this repository.

Using your own images

If you're using Glitterbot and don't like the Glitterplaatjes (what?!), Glitterbot can also send your team your own custom images.

  1. Replace the images in the glitters folder with your own images. Make sure to maintain the existing folder structure. Place images meant for specific days in the folders for these days (glitters/mon for monday, glitters/tue for tuesday). Place generic images that could be sent on any morning in the glitters/generic folder. Images should not be larger than 2MB, otherwise they won't automatically expand in Slack.

  2. Install dependencies by running yarn install or npm install.

  3. Run node cleanup.js to generate a new images.json for your images.

  4. (optional) Run yarn run test to make sure all images are going to work properly.

  5. Either deploy using Netlify or run the following command to create a public folder to upload to your own server:

    mkdir public && find ./glitters -name '*.jpg' -o -name '*.png' -o -name '*.gif' -exec cp '{}' ./public \\; && cp    ./glitters/images.json ./public/images.json
    

About

✨ The central glitter graphics repository for all glitterbots

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published