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
As of March 27th, 2024, the pre-6.0 JS codebase has been discontinued in favor of a cleaner TypeScript-based codebase with many improvements. Due to this, there are some extra steps needed
- 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.
- Download the latest release (recommended) or clone the repository (for bugtesting/development)
- Navigate to the folder. IMPORTANT: The server will not run properly if you are not in the correct folder upon starting. (this is actively being worked on)
- Edit
config.json
to suit your needs. You should change the domain property to fit your domain/IP address. - Run
npm i
- Run
node .
ORpm2 start index.js
- Optionally, use nginx, etc. to make a reverse proxy.
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