-
Notifications
You must be signed in to change notification settings - Fork 7
Installation
Itzbenz edited this page Sep 6, 2022
·
13 revisions
You can deploy this on Replit or Yeet Hosting
or alternatively, you can self-host it yourself
Requirements:
- at least Node.js ^12.x.x
- Ubuntu ^18.04
- Debian ^9
- Cent-OS and FreeBSD supported, however, we dont cover this on documentation
- Windows is partially supported
- AVX compatible CPU
but seriously, if you host this from windows, you deserve to go to hell.
Recommendations:
- Redis server
- A domain
- SSL
Download the code
git clone https://github.com/o7-Fire/NodeNsfwJSAPI.git
cd NodeNsfwJSAPI- or use
wgetandunzip - or use the
dockerimage
Download node.js
curl -sL https://deb.nodesource.com/setup_16.x | sudo -E bash - && apt install -y nodejsInstall Dependency
npm i
Run
npm start
- Optional: configure
.env
Congratulations, you have a working NSFW detection API now
Sponsored by: PCAS, KGB, Joe Bidden, Elongated Musk, The Mossad, Malaysian Government, AWS, Three Letter Agencies