Skip to content

Commit 874f9cd

Browse files
halamix2mrCherry97
andauthored
feat: add Instagram generator (#107)
Co-authored-by: mrCherry97 <mwisnia97@gmail.com>
1 parent 7a6d4f6 commit 874f9cd

File tree

16 files changed

+1318
-22
lines changed

16 files changed

+1318
-22
lines changed

.env

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,13 @@
11
VITE_LOGO_FIRST=assets/logo_gsps/d2025.png
22
VITE_LOGO_SECOND=assets/logo_fundacja/na_ratunek.png
3+
VITE_LOGO_SECOND_STORY=assets/logo_fundacja/NARATUNEK-logo-wersje-white-1.png
34

45
VITE_IMAGES_BANNER_RUNNER=assets/banners/runner.png
56
VITE_IMAGES_BANNER_MILESTONE=assets/banners/milestone.png
67
VITE_IMAGES_BANNER_YOUTUBE=assets/banners/youtube.png
8+
VITE_IMAGES_BANNER_STORY=assets/banners/instagram.png
79
VITE_IMAGES_GRADIENT=assets/gradient.png
10+
VITE_IMAGES_GRADIENT_STORY=assets/gradient_instagram.png
811
VITE_IMAGES_STORY_BACKGROUND=assets/placeholder.png
912

1013
VITE_DONATION_TRACKER_BASE_URL=https://gsps.pl/donacje/index/

.vscode/extensions.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"recommendations": [
3-
"Vue.volar",
43
"Vue.vscode-typescript-vue-plugin",
54
"dbaeumer.vscode-eslint",
6-
"esbenp.prettier-vscode"
5+
"esbenp.prettier-vscode",
6+
"vuetifyjs.vuetify-vscode"
77
]
88
}

CHANGELOG.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,13 @@
22

33
## WIP
44

5+
- logos and tracker updated for GSPS Dzieciom 2025
56
- Refactor code, GPST now uses Fabric.js library
67
- Final render to file applies Lanczos3 filter to the photo
7-
- rotation no longer resets scale
8+
- photo rotation no longer resets scale
9+
- add Story view for Instagram thumbnail generation
10+
- retrieved money count now is rounded, to fix errors with displaying decimals
11+
- .htaccess is now generated, adjusted for the base path
812

913
## 0.3.0
1014

README.md

Lines changed: 14 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,31 +8,36 @@ This tools aims to help generating Twitter/Youtube thumbnails
88

99
Latest main commit version available at https://gramypomagamy.github.io/GPST/
1010

11-
# URL parameters
11+
## URL parameters
1212

1313
GPST can read the following URL parameters
1414

1515
- runner
1616
- title
1717
- subtitle
1818
- category
19+
- money
20+
- time
1921

2022
You can then sen someone a link like this one: `localhost?runner=Halamix2&title=Stunt GP&category=Arcade`
2123

22-
## Project Setup
24+
## Run GPST locally
2325

24-
```sh
25-
npm install
26-
```
27-
28-
### Compile and Hot-Reload for Development
26+
To run GPST locally, run
2927

30-
```sh
28+
```bash
29+
# needed only once, unless the dependencies have changed
30+
npm install
3131
npm run dev
3232
```
3333

3434
### Building
3535

36-
```sh
36+
To build a release run
37+
38+
```bash
3739
npm run build
40+
41+
#if you wish to store GPST in a subdir on a server you can use
42+
npm run build -- -- --base
3843
```

0 commit comments

Comments
 (0)