{"id":15136239,"url":"https://github.com/teonet-co/teocli","last_synced_at":"2026-02-20T18:31:28.047Z","repository":{"id":53575166,"uuid":"133716808","full_name":"teonet-co/teocli","owner":"teonet-co","description":"Teonet L0 client library","archived":false,"fork":false,"pushed_at":"2021-03-23T14:10:09.000Z","size":1069,"stargazers_count":2,"open_issues_count":9,"forks_count":0,"subscribers_count":3,"default_branch":"develop","last_synced_at":"2024-10-29T20:55:29.630Z","etag":null,"topics":["c","teocli","teonet","trudp"],"latest_commit_sha":null,"homepage":"","language":"C","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/teonet-co.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}},"created_at":"2018-05-16T19:59:21.000Z","updated_at":"2021-08-26T10:09:44.000Z","dependencies_parsed_at":"2022-08-28T22:00:59.411Z","dependency_job_id":null,"html_url":"https://github.com/teonet-co/teocli","commit_stats":null,"previous_names":[],"tags_count":18,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/teonet-co%2Fteocli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/teonet-co%2Fteocli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/teonet-co%2Fteocli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/teonet-co%2Fteocli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/teonet-co","download_url":"https://codeload.github.com/teonet-co/teocli/tar.gz/refs/heads/develop","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247123097,"owners_count":20887259,"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":["c","teocli","teonet","trudp"],"created_at":"2024-09-26T06:04:39.983Z","updated_at":"2025-10-20T09:34:06.668Z","avatar_url":"https://github.com/teonet-co.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Teonet L0 client library\n\n[![CodeFactor](https://www.codefactor.io/repository/github/teonet-co/teocli/badge)](https://www.codefactor.io/repository/github/teonet-co/teocli)\n\n## Library folders structure description\n\n### Sources folder\n\nThe folder ```libteol0``` contain source code of the teocli library\n\n\n### Linux\n\nThe ```linux``` folder contain Makefile to make Linux shared library and \napplication.  \n_See [README](linux) in that folder to additional information._\n\n\n### Python\n\nThe ```python``` folder contain make_python.sh file to make python module.  \n_See [README](python) in that folder to additional information._\n\n\n### Java Script and Node.js\n\nThe ```TeocliJS``` suproject content code to connect to Teonet with websocket \nfrom Java Script or Node.js.  \n_See the [TeocliJS](https://github.com/teonet-co/TeocliJS) project._\n\nThe ```teonet-client``` project located at nodejs folder is native node.js \nmodule.  \n_See [README](nodejs) in nodejs folder to additional information._\n\n### AngelScript (going soon)\n\nThe ```TeocliAS``` subproject content code to connect to Teonet from [AngelScript](http://www.angelcode.com/angelscript/).  \n_See the [TeocliAS](https://gitlab.ksproject.org/teonet/TeocliAS) project._\n\n\n### Windows with MinGw-64\n\nThe ```win_mingw``` folder contain make_exe.sh file to make Windows DLL and \ntests application under Linux.  \n_See [README](win_mingw) in that folder to additional information._\n\n\n### Windows with Visual Studio\n\nThe ```win_vcxproj``` folder contain solution and projects to make Windows DLL \nand tests under Windows Visual Studio.  \n_See [README](win_vcxproj) in that folder to additional information._\n\n\n## Basic teocli example\n\n### Test L0 client/server connection:\n  \nL0 Server: ```examples/teostream teo-str NULL NULL -p 9000 --l0_allow```  \n\nTeonet Peer: ```examples/teostream teostream teo-str str -r 9000 -a 127.0.0.1```  \n\nL0 client: ```examples/teol0cli C1 127.0.0.1 9000 teostream \"Hello world!\"```  \n  or  \nL0 client: ```examples/teol0cli C1 127.0.0.1 9000 teo-str \"Hello world!\"```  \n  \n### L0 Client packet structure:  \n  \n![l0-client-packet__1_](https://raw.githubusercontent.com/wiki/teonet-co/teonet/images/l0-server-01.png?token=ABaIc0O_ceBJPp81FDpQpylfXfwagrTvks5bFwN2wA%3D%3D)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fteonet-co%2Fteocli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fteonet-co%2Fteocli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fteonet-co%2Fteocli/lists"}