tycrek
b6df8f29a4
improved blocking unauthorized requests; attempt to fix CodeQL issue
3 years ago
tycrek
3bda2c0cb4
added S3 file deletion
3 years ago
tycrek
f525cc2f13
improved type concat to fix video embeds via S3
3 years ago
tycrek
8c810592a3
significantly improved S3 block storage
3 years ago
tycrek
af51401b7b
added support for S3 uploads (deletion NOT implemented yet)
3 years ago
tycrek
9fc4668354
upload files to S3 storage
3 years ago
tycrek
089a530e3d
removed reliance on dedicated tokens array
3 years ago
tycrek
8007cef283
fixed Vibrant attempting to run for videos
3 years ago
tycrek
fbf484e8aa
Added Thumbnail & Vibrant colour support
3 years ago
tycrek
e6e6164cde
added ensureDir for thumbnails
3 years ago
tycrek
bc78e821d8
added `X-Ass-Gfycat` header to change adjective length
3 years ago
Josh Moore
18e9d276f8
Merge pull request #16 from ToxicAven/new/gfycat
3 years ago
tycrek
19a54b5af4
added index page
3 years ago
tycrek
3cc21c8d62
added basic ratelimiting for uploads
3 years ago
tycrek
21a1b289f0
fixed some express.js "meta" stuff
3 years ago
Jacob Herd
82aaafa990
Gfycat Resource type
3 years ago
tycrek
4a69115f46
use middleware for parsing to avoid duplicated code
3 years ago
tycrek
0227ce1e8c
improved oEmbed response generation
3 years ago
tycrek
9e8bb32cae
attempt sending type with response
3 years ago
tycrek
cbc432cfd8
live-testing Discord oEmbed fixes ugh
3 years ago
tycrek
d359fce3b1
send as proper mimetype
3 years ago
tycrek
da328cc4ac
added oEmbed support for clickable Authors/Providers
3 years ago
tycrek
d0bf63b077
use custom middleware to prevent favicon requests
3 years ago
tycrek
c4b0e7cb1e
fixed logo URL for default webhook avatar
3 years ago
tycrek
ea42897e68
Users are now able to customize webhook avatars with a header override
3 years ago
tycrek
4e8777629f
Added basic "user" implementation for usernames and upload counts
...
Use `npm run new-token EpicUsername` to add a token with a specified name. If omitted, a random one will be generated. Existing tokens can still be used; a random username will be generated on upload.
4 years ago
tycrek
2c814d9630
added support for Discord webhooks
4 years ago
tycrek
f936d14e18
added custom embeds via http headers
4 years ago
tycrek
a997a137d3
added luxon for saving upload timestamp
4 years ago
tycrek
49a3a11712
removed old function
4 years ago
tycrek
10e3ef7ac4
removed need for checking if video
4 years ago
tycrek
020a53c4e0
attempting opengraph stuff
4 years ago
tycrek
62a2a7822a
added header overrides
4 years ago
tycrek
5f9af34ac6
minor fixes
4 years ago
Vadim
954d13c9f3
Add Options For File Saving
...
Added 3 new options configuring how files should be saved on the disk. Also added to setup script.
1. Date Folder Structure
Save images within current Year and Month folder (used same default as ShareX with year-month formatting)
2. Customise File Destination
Change the location of uploads from "uploads/" to anything.
Perhaps an additional feature could be error checking to ensure it's a valid path?
3. Save As Original File Name
Currently files get saved with randomly generated file name and no file extension. Adds option to save with same name and file extension as uploaded.
Feel free to change the descriptions in the setup script, I tried my best to describe setting but there's room for improvement.
Thanks for the software, let me know if you have any questions
4 years ago
tycrek
6604c75d2f
automatically reload auth.json when new token is generated
4 years ago
tycrek
6ad7a62646
switched to new generator
4 years ago
Josh Moore
39b61774bf
Added working Discord video embeds ( #6 )
4 years ago
tycrek
0255ccef3f
added isProxied
4 years ago
tycrek
dff7600c91
added Discord compat mode
4 years ago
tycrek
68d75bb695
comments
4 years ago
tycrek
02f751ca9b
improved resource 404 handling
4 years ago
tycrek
5ee31f56a1
improved internal res ID naming for 'original' type
4 years ago
tycrek
1d275a6aaa
ignore favicon requests
4 years ago
tycrek
4d699ca015
added random, original options for resource ID type
4 years ago
tycrek
d5e79286ef
refactored file location
4 years ago
tycrek
eff3c9bde1
removed the need for dotenv
4 years ago
tycrek
0cb6d2dd02
woops
4 years ago
tycrek
9a1e1d7b00
j
4 years ago
tycrek
8135b3a46d
test?
4 years ago