{"id":25300119,"url":"https://github.com/deftio/triops","last_synced_at":"2025-08-11T21:17:27.150Z","repository":{"id":148290387,"uuid":"296505194","full_name":"deftio/triops","owner":"deftio","description":null,"archived":false,"fork":false,"pushed_at":"2022-04-02T00:51:34.000Z","size":1428,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-06T23:41:20.123Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/deftio.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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":"2020-09-18T03:37:20.000Z","updated_at":"2022-04-02T00:18:22.000Z","dependencies_parsed_at":null,"dependency_job_id":"f4a55221-14d4-4d75-8b4d-caafc0731aa0","html_url":"https://github.com/deftio/triops","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/deftio/triops","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deftio%2Ftriops","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deftio%2Ftriops/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deftio%2Ftriops/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deftio%2Ftriops/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/deftio","download_url":"https://codeload.github.com/deftio/triops/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deftio%2Ftriops/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269958631,"owners_count":24503598,"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","status":"online","status_checked_at":"2025-08-11T02:00:10.019Z","response_time":75,"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":[],"created_at":"2025-02-13T05:38:27.703Z","updated_at":"2025-08-11T21:17:27.135Z","avatar_url":"https://github.com/deftio.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n[![triops](./assets/triops-logo.png)](https://www.github.com/deftio/triops)\n\n## Triops \n\nTriops is a *simple* web server for debugging IOT hardware with minimal setup.  \n\n\n## Intro\nIt is written in PHP and can be used on shared hosts (though its streaming section requires access to redis).\n\nYou can see this [site.php](./pages/index.php)\n\n\n## Supported Features\n\nTriops contains a few \"boiler plate\" pages for checking connectivity.  \n\n### Primitive Checks\nPrimitive checks allow a client to use http to get text (non HTML) data which can consoled out (eg at REPL or serial debug).\n\nThese are:\n* time check - any call to this page returns plain-text server time w/o any HTML formatting\n* sum - any call to this page allows the client to submit get params which will be numerically summed. userful for basic connectivity formatting checks\n* ip - see client reported ip at server\n\n\n### Simple post checks\n* rawpost - this allows a client/device to post *any* string data to the page.  the raw-post-read page will read the *last* posted data\n* rawget  - this allows a client/device to post *any* set of vars to the page.  the raw-get-read page will read the *last* get encoded data\n\n### device posting\nThe following pages allow a device to post data.  However the device must be in the registry.  To do this go to the admin page and add the device\n\n\n* devpost - a page which allows a registered device to post data\n* devread - a page which allows a regiersred device to read data (if avail) \n* devregister - a page which allows a device to attempt to register.  Only if it is \"accepted\" (see admin) will that device be able to make user of devpost or devread\n\n## Requirements \u0026 setup\nAssunes apache2 or LAMP/WAMP installed.\n\nPHP 5.x or greater - used for server side logic\nRedis (and PHP redis) - in-memoryy caching server\nSQLite3 (PHP extension) - file-based database (make sure this is installed)\n\n```sh\nsudo apt-get install php7.4-sqlite3\n```\n\n\n### example install (also works on WSL on Windows)\non ubuntu bash with apt:\n```bash\n\nsudo apt install redis-server\nsudo apt install php php-curl php-redis \nsudo systemctl restart redis.service\n\n```\n\nIf you're having trouble use redis-cli to trouble shoot that redis is up and running:\n```bash\nredis-cli\n127.0.0.1:6379\u003e ping\nPONG  #  server should respond with this:\n```\n\n## Liecense\nBSD 2-clause \n(c) M A Chatterjee 2020\n\n\n## Release History  \n* 0.1 Initial release  \n  \n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeftio%2Ftriops","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdeftio%2Ftriops","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeftio%2Ftriops/lists"}