diff --git a/LICENSE b/LICENSE index e6b240d..6895914 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2017 Pitu +Copyright (c) 2018 Pitu Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/README.md b/README.md index 0e56b44..d6da372 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -![loli-safe](https://a.safe.moe/jcutlz.png) +![lolisafe](public/images/fb_share.png) [![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg?style=flat-square)](https://raw.githubusercontent.com/kanadeko/Kuro/master/LICENSE) [![Chat / Support](https://img.shields.io/badge/Chat%20%2F%20Support-discord-7289DA.svg?style=flat-square)](https://discord.gg/5g6vgwn) @@ -42,7 +42,7 @@ If you set `enableUserAccounts: true`, people will be able to create accounts on ## Cloudflare Support If you are running lolisafe behind Cloudflare there is support to make the NGINX logs have the users IP instead of Cloudflares IP. You will need to compile NGINX from source with `--with-http_realip_module` as well as uncomment the following line in the NGINX config: `include /path/to/lolisafe/real-ip-from-cf;` -## Using loli-safe +## Using lolisafe Once the service starts you can start hitting the upload endpoint at `/api/upload` with any file. If you're using the frontend to do so then you are pretty much set, but if using the API to upload make sure the form name is set to `files[]` and the form type to `multipart/form-data`. If the service is running in private mode, dont forget to send a header of type `token: YOUR-CLIENT-TOKEN` to validate the request. A sample of the returning json from the endpoint can be seen below: @@ -54,11 +54,11 @@ A sample of the returning json from the endpoint can be seen below: } ``` -To make it easier and better than any other service, you can download [our Chrome extension](https://chrome.google.com/webstore/detail/loli-safe-uploader/enkkmplljfjppcdaancckgilmgoiofnj) that will let you configure your hostname and tokens, so that you can simply `right click` -> `send to loli-safe` to any image/audio/video file on the web. +To make it easier and better than any other service, you can download [our Chrome extension](https://chrome.google.com/webstore/detail/lolisafe-uploader/enkkmplljfjppcdaancckgilmgoiofnj) that will let you configure your hostname and tokens, so that you can simply `right click` -> `loli-safe` -> `send to safe` to any image/audio/video file on the web. -Because of how nodejs apps work, if you want it attached to a domain name you will need to make a reverse proxy for it. Here is a tutorial [on how to do this with nginx](https://www.digitalocean.com/community/tutorials/how-to-set-up-a-node-js-application-for-production-on-ubuntu-16-04). Keep in mind that this is only a requirement if you want to access your loli-safe service by using a domain name (ex: https://i.kanacchi.moe), otherwise you can use the service just fine by accessing it from your server's IP. +Because of how nodejs apps work, if you want it attached to a domain name you will need to make a reverse proxy for it. Here is a tutorial [on how to do this with nginx](https://www.digitalocean.com/community/tutorials/how-to-set-up-a-node-js-application-for-production-on-ubuntu-16-04). Keep in mind that this is only a requirement if you want to access your lolisafe service by using a domain name, otherwise you can use the service just fine by accessing it from your server's IP. -## Sites using loli-safe +## Sites using lolisafe - [lolisafe.moe](https://lolisafe.moe): A small safe worth protecting. - [safe.moe](https://safe.moe): The world's most ~~un~~safe pomf clone - [updx.xyz](http://updx.xyz): A shitty clone. ~~At least the files are more secure!~~ @@ -69,7 +69,7 @@ Because of how nodejs apps work, if you want it attached to a domain name you wi ## Author -**lolisafe** © [Pitu](https://github.com/Pitu), Released under the [MIT](https://github.com/WeebDev/loli-safe/blob/master/LICENSE) License.
+**lolisafe** © [Pitu](https://github.com/Pitu), Released under the [MIT](https://github.com/WeebDev/lolisafe/blob/master/LICENSE) License.
Authored and maintained by Pitu. > [lolisafe.moe](https://lolisafe.moe) · GitHub [@Pitu](https://github.com/Pitu) diff --git a/config.sample.js b/config.sample.js index 44d888c..6672883 100644 --- a/config.sample.js +++ b/config.sample.js @@ -3,7 +3,7 @@ module.exports = { /* If set to true the user will need to specify the auto-generated token on each API call, meaning random strangers wont be able to use the service - unless they have the token loli-safe provides you with. + unless they have the token lolisafe provides you with. If it's set to false, then upload will be public for anyone to use. */ private: true, diff --git a/package.json b/package.json index a582544..bbbb197 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,7 @@ "url": "https://github.com/WeebDev/lolisafe" }, "bugs": { - "url": "https://github.com/WeebDev/loli-safe/issues" + "url": "https://github.com/WeebDev/lolisafe/issues" }, "engines": { "node": ">=7.0.0" diff --git a/pages/error/404.html b/pages/error/404.html index ebd49b1..ad55dac 100644 --- a/pages/error/404.html +++ b/pages/error/404.html @@ -1,7 +1,7 @@ - loli-safe + lolisafe diff --git a/pages/error/500.html b/pages/error/500.html index b3a1282..b9cacb8 100644 --- a/pages/error/500.html +++ b/pages/error/500.html @@ -1,7 +1,7 @@ - loli-safe + lolisafe diff --git a/pages/faq.html b/pages/faq.html index 033c573..115419d 100644 --- a/pages/faq.html +++ b/pages/faq.html @@ -64,7 +64,7 @@

What are albums?

- Albums are a simple way of sorting uploads together. Right now you can create albums through the dashboard and use them only with our chrome extension which will enable you to right click -> send to lolisafe or to a desired album if you have any. + Albums are a simple way of sorting uploads together. Right now you can create albums through the dashboard and use them only with our chrome extension which will enable you to right click -> send to lolisafe or to a desired album if you have any.
diff --git a/pages/home.html b/pages/home.html index 947a4a7..a80e563 100644 --- a/pages/home.html +++ b/pages/home.html @@ -82,7 +82,7 @@

diff --git a/public/images/fb_share.png b/public/images/fb_share.png index 8f3fd9f..d5fc25b 100644 Binary files a/public/images/fb_share.png and b/public/images/fb_share.png differ