Github project n.eko is a virtual browser based on the docker isolation environment, supports two types of browsers, Chrome and Firefox, and has built-in chat/simple user management functions. The UI design is very beautiful.
Project address: https://github.com/nurdism/neko
The program requires a relatively high configuration, see here for details:https://n.eko.moe/#/quick-start
Here are recommended specs:
|1024×[email protected]||2||2gb||Not Recommended|
|1280×[email protected]||4||3gb||Good Performance|
|1280×[email protected]||8||4gb+||Best Performance|
To run it in a low resource VPS, such as only 1GB RAM, 1vCPU, we will have to change SWAP size to make it more stable.
Firewall Ports Open
Please make sure following two firewall rules created on your cloud VPS’s firewall.
Change SWAP Size
Install Docker and Docker-Compose
Create docker-compose.yml and bring Neko docker up
cd ~ mkdir neko cd neko vi docker-compose.yml
Put following code into docker-compose.yml file based on the browser type.
SCREEN_DEPTH can be changed to 16 to save some resource usage on your host VPS.
Now you should be able to browser to your Neko’s web interface with this url : http://<public ip>:8080
Fix Chinese Font Issue
If you have your own domain, you can using following steps to create https://<Sub Domain> this kind of access to Neko project with Nginx’s reverse proxy.
- DNS sub domain created in your DNS provider, such as this sub domain, neko.51sec.org
- Create your neko.51sec.org Nginx configuraiton. You can copy other Nginx web app’s configuration then modify it.
- run certbot to get LetsEncrypt cerititicate and modify neko.conf file to use those certificates.
- test https://<Sub Domain>