{"id":18948517,"url":"https://github.com/bahdcoder/nesabox","last_synced_at":"2026-04-16T03:32:28.757Z","repository":{"id":100513902,"uuid":"195583198","full_name":"bahdcoder/nesabox","owner":"bahdcoder","description":"Nesabox backend - Server management made super simple","archived":false,"fork":false,"pushed_at":"2020-10-30T19:25:59.000Z","size":8956,"stargazers_count":0,"open_issues_count":12,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-09-05T11:57:41.586Z","etag":null,"topics":["bash","laravel","php7"],"latest_commit_sha":null,"homepage":"https://api.nesabox.com","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bahdcoder.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-07-06T21:08:07.000Z","updated_at":"2023-03-14T13:51:46.000Z","dependencies_parsed_at":"2023-05-15T15:01:02.151Z","dependency_job_id":null,"html_url":"https://github.com/bahdcoder/nesabox","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/bahdcoder/nesabox","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bahdcoder%2Fnesabox","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bahdcoder%2Fnesabox/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bahdcoder%2Fnesabox/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bahdcoder%2Fnesabox/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bahdcoder","download_url":"https://codeload.github.com/bahdcoder/nesabox/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bahdcoder%2Fnesabox/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31870507,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-15T15:24:51.572Z","status":"online","status_checked_at":"2026-04-16T02:00:06.042Z","response_time":69,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bash","laravel","php7"],"created_at":"2024-11-08T13:13:48.047Z","updated_at":"2026-04-16T03:32:28.696Z","avatar_url":"https://github.com/bahdcoder.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Nesabox api\n\n# Ideas\n\n- For now, we'll get rid of all `*.nesabox.com` support domains. Then, we'll figure out a way to setup a `*.nesaboxapp.com` something. Wow lol I feel free.\n- This means, all certbot issues are completely gone !!!\n\n# How to handle nginx configuration\n- Install nginx\n- Clone the h5bp nginx configs\n        - `git clone https://github.com/h5bp/server-configs-nginx.git h5bp-repository`\n        - `mv /etc/nginx/h5bp-repository/h5bp /etc/nginx/h5bp`\n        - `rm -r /etc/nginx/h5bp-repository`\n- Replace the default nginx configuration with the one from h5bp \n        - `rm /etc/nginx/nginx.conf`\n        - `cp /etc/nginx/h5bp/nginx.conf /etc/nginx/nginx.conf`\n- Add a folder called `nesa-conf`\n        - `mkdir /etc/nginx/nesa-conf`\n- To add a site, add a folder in the `nesa-conf` folder for that site\n        - `mkdir /etc/nginx/nesa-conf/ssl-http2.nesabox.com`\n        - Add a default configuration for that site.\n        - `cat \u003e /etc/nginx/nesa-conf/ssl-http2.nesabox.com/base.conf \u003c\u003c EOF EOF`\n\n# How to setup realtime logs\n\n1 - Setup log watching app on user's server as usual\n2 - Setup socket-io client (server side) on log-watcher.nesabox.com on your nesabox server\n3 - When user visits page, user subscribes (emits subscribe) to log-watcher.nesabox.com site. \n4 - If confirmed, log-watcher.nesabox.com subscribes to log-watcher on user's server. \n5 - When file changes on user's server, log-watcher receives the file changes, and emits to the client browser.\n\n# How to securely get metrics from server\n\n1 - We'll have an endpoint on nesabox, this endpoint connects to the server, a node js script on the server makes a local api request to fetch netdata data, then returns it to nesabox which inturn returns it to the browser.\n\n2 - So I guess there is no much harm signing a certificate on the server, and consuming it with node js\n\n# How to handle server alerts\n\n1 - We'll flash messages on each server, on the frontend, we'll load notifications, and push all of them on to a notifications provider.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbahdcoder%2Fnesabox","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbahdcoder%2Fnesabox","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbahdcoder%2Fnesabox/lists"}