Warning
The license for OkayuCDN has changed and will take effect from version v6.5.0 onward. Please read the license before upgrading your server from versions < v6.5.0.
You create an account. You log in. You upload a file. You send the link. It embeds. It's that easy.
I felt like it. I wanted to make something useful. Now my friends can upload files greater than 8MB on discord.
Caution
Do not use OkayuCDN in a commercial environment. Some images are property of cover corp. Using these without permission could land you in some legal hot water.
Sure, go ahead. It's not intended to be used as a major server and it is quite unoptimized. Feel free to even customize the logos and name throughout your pages. Note that you must not replace any text strings containing "Powered by OkayuCDN"
Important
You will not be able to see icons unless you replace the Font Awesome license elements in each page.
- Download the latest release (recommended) or clone the repository (for cutting-edge features)
- Navigate to the folder
- Run
npm i
to install all dependencies - (if not already installed) install TSC (either
npm i -g typescript
com. a ornpm i typescript
com. b) - Compile the source with either
tsc
for com. a ornpx tsc
for com. b - Edit
config.json
to your liking. - Start the server with
node .
(alternatively, you can use some watchdog such as PM2 likepm2 start . -n "OkayuCDN"
) - It is recommended you use a reverse proxy such as NGINX to allow SSL.
- Start the instance with DISABLE_RATE_LIMITING set in config.json.
- Create an account on the instance.
- Upload required demo files. Check config.json for the required files.
- Set the username and filenames in config.json.
- Run
npx jest
Here's some things you could help me with:
- Testing on devices other than Desktop (or large aspect ratio screens)
- Styling for devices other than Desktop (or large aspect ratio screens)
- Code cleanup/documentation
- Fixing one of the open issues.
- Please do not use OkayuCDN in a commercial environment. It is not intended to be used in commercial environments and I do not own the rights to Nekomata Okayu. You are putting yourself at risk if you use this in a commercial environment.
- READ THE LICENSE, PLEASE