This commit is contained in:
Marco van Dijk 2022-10-07 18:41:12 +02:00
parent fac9afa4a5
commit a7a5a9b8a0
3 changed files with 185 additions and 2370 deletions

View File

@ -1,12 +1,10 @@
Dependencies:
npm install
pip3 install cairosvg
pacman -Sy cairo python3 python-pip
Generate:
npm run dev or npm run start
python3 convert.py
### Dependencies
- `npm install`
- `pip3 install cairosvg`
- `pacman -Sy cairo python3 python-pip`
(or equivalent on your platform)
Install:
rm -rf /var/www/avatars/*
mv converted/*.png /var/www/avatars
### Generate
- `npm run dev` or `npm run start`
- `python3 convert.py`

2533
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -1,6 +1,6 @@
{
"name": "RandomChad",
"version": "0.0.1",
"version": "0.1.0",
"description": "",
"main": "index.js",
"module": "index.js",
@ -14,8 +14,6 @@
"dependencies": {
"color": "^4.2.3",
"color-namer": "^1.4.0",
"esm": "^3.2.25",
"express": "^4.18.1",
"jsdom": "^18.1.1",
"random-name": "^0.1.2"
},