This commit is contained in:
2022-09-04 03:53:57 +02:00
5 changed files with 63 additions and 1 deletions

3
.gitattributes vendored Normal file
View File

@@ -0,0 +1,3 @@
color-thief.js liguist-vendored
*.css linguist-generated
*.css.map linguist-generated

27
.github/workflows/main.yml vendored Normal file
View File

@@ -0,0 +1,27 @@
name: Auto PR updated color-thief
on:
schedule: [{cron: "0 4 1 * *"}]
workflow_dispatch:
jobs:
push_to_branch_and_create_pr:
name: Create PR for updated color-thief
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v2
name: Check out current commit
- name: Download minified color-thief
run: curl https://raw.githubusercontent.com/lokesh/color-thief/master/dist/color-thief.min.js -o color-thief.js
- name: Create Pull Request
uses: peter-evans/create-pull-request@v4.0.4
with:
commit-message: Update color-thief
title: Update color-thief
body: |
This is an automated PR.
<sub>[workflow](https://github.com/marvinscham/coverbuilder/blob/master/.github/workflows/main.yml).</sub>
branch: update-assets
branch-suffix: "random"

21
LICENSE.md Normal file
View File

@@ -0,0 +1,21 @@
MIT License
Copyright (c) 2021 Marvin Scham
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

11
README.md Normal file
View File

@@ -0,0 +1,11 @@
<div align="center">
![Logo](https://github.com/marvinscham/schmoekerei-icons/raw/main/icons/coverbuilder.png)
# Cover Builder
Basic HTML page that helps pick a spine color based on a drag-and-droppable cover image.
Uses [lokesh/color-thief](https://github.com/lokesh/color-thief).
</div>

File diff suppressed because one or more lines are too long