{"id":21827479,"url":"https://github.com/catboy96/apii","last_synced_at":"2025-03-21T12:24:23.155Z","repository":{"id":115066624,"uuid":"196414928","full_name":"Catboy96/APiI","owner":"Catboy96","description":"⚡ Lightweight WebAPI runs on a Raspberry Pi, provides commonly used functions.","archived":false,"fork":false,"pushed_at":"2019-07-17T15:14:05.000Z","size":237,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-26T08:27:19.289Z","etag":null,"topics":["bash-script","raspberry-pi","shell-script","webapi"],"latest_commit_sha":null,"homepage":"","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Catboy96.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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-11T14:54:30.000Z","updated_at":"2019-10-21T14:28:41.000Z","dependencies_parsed_at":null,"dependency_job_id":"66a96145-1b2c-436e-a0e1-90183248940d","html_url":"https://github.com/Catboy96/APiI","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Catboy96%2FAPiI","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Catboy96%2FAPiI/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Catboy96%2FAPiI/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Catboy96%2FAPiI/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Catboy96","download_url":"https://codeload.github.com/Catboy96/APiI/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244796223,"owners_count":20511662,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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-script","raspberry-pi","shell-script","webapi"],"created_at":"2024-11-27T18:13:17.034Z","updated_at":"2025-03-21T12:24:23.144Z","avatar_url":"https://github.com/Catboy96.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Catboy's APiI  \n⚡ Lightweight WebAPI runs on a Raspberry Pi, provides commonly used functions.\n\n## Screenshot\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://raw.githubusercontent.com/Catboy96/APiI/master/capture.png\" alt=\"Catboy's APiI Screenshot\"\u003e\n  \u003cbr /\u003e\n\u003c/p\u003e\n\n## SUPER CAT LIGHT!\n**No dependencies, no prerequisites.** Only bash scripts for dynamic content. This means:  \n* **No Python, PHP, JS required. No more NPM or PIP, yay!!** \n* Super light, ultra-low performance cost.\n* All you need is install a web server. **lighttpd** recommended.\n\n## Install\n* Install a web server like **lighttpd** and enable bash for CGI:  \n```\nsudo apt install lighttpd -y  \nvi /etc/lighttpd/lighttpd.conf\n```\nAdd `cgi.assign = ( \".sh\" =\u003e \"/bin/bash\" )` at the end of the file, add `\"mod_cgi\",` to both `server.modules = (` and `server.modules += (`. Then restart lighttpd by `sudo systemctl restart lighttpd`.\n* Clone the project to web root directory.  \n```\ncd /var/www/html\nsudo git clone https://github.com/Catboy96/APiI\n```\n* Some features with ⚡ sign require adding user \"www-data\" to sudoers file with no-password enabled.  \nThis can be done by `sudo vi /etc/sudoers.d/010_www-nopasswd`, add this line, and save the file:  \n```\nwww-data ALL=(ALL) NOPASSWD: ALL\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcatboy96%2Fapii","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcatboy96%2Fapii","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcatboy96%2Fapii/lists"}