{"id":22054299,"url":"https://github.com/kb2ma/cotel","last_synced_at":"2025-10-09T19:33:36.264Z","repository":{"id":67553076,"uuid":"308887337","full_name":"kb2ma/cotel","owner":"kb2ma","description":"CoAP messaging GUI tool","archived":false,"fork":false,"pushed_at":"2021-01-15T13:21:44.000Z","size":1342,"stargazers_count":5,"open_issues_count":2,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-09T19:33:06.886Z","etag":null,"topics":["coap","gui"],"latest_commit_sha":null,"homepage":"","language":"Nim","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kb2ma.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":"2020-10-31T13:25:25.000Z","updated_at":"2025-06-11T15:29:35.000Z","dependencies_parsed_at":null,"dependency_job_id":"62e885a2-427d-4a7f-a802-82e3ab5c16f0","html_url":"https://github.com/kb2ma/cotel","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/kb2ma/cotel","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kb2ma%2Fcotel","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kb2ma%2Fcotel/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kb2ma%2Fcotel/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kb2ma%2Fcotel/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kb2ma","download_url":"https://codeload.github.com/kb2ma/cotel/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kb2ma%2Fcotel/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279001959,"owners_count":26083244,"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-10-09T02:00:07.460Z","response_time":59,"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":["coap","gui"],"created_at":"2024-11-30T15:20:37.296Z","updated_at":"2025-10-09T19:33:36.232Z","avatar_url":"https://github.com/kb2ma.png","language":"Nim","funding_links":[],"categories":[],"sub_categories":[],"readme":"Cotel provides a desktop GUI for exploration of CoAP messaging, and includes these features:\n\n* [Client requests](doc/snap-request.png)\n* [PSK security](doc/snap-setup.png)\n* [Networking log](doc/snap-netlog.png)\n* [Experimental server for testing](doc/snap-server.png)\n\n![Alt text](doc/snap-hello.png)\n\nCotel runs as a native executable. We have created an AppImage based installer for Linux, available from the repository [Releases](https://github.com/kb2ma/cotel/releases) page.\n\nOf course you also may build and run from source. See *Development* below. We have not attempted to build for Windows or OSX.\n\nCotel uses [libcoap](https://libcoap.net/) for CoAP messaging, and [Dear ImGui](https://github.com/ocornut/imgui) for its UI library.\n\n# Installation\n\nThe AppImage installer for Linux is a single file. Simply mark it executable and run it. AppImage is designed to be agnostic to a user's particular distro. It's also possible to integrate Cotel into the desktop environment. See the AppImage [Running](https://docs.appimage.org/user-guide/run-appimages.html) page for details.\n\nSee Cotel's [user guide](doc/user-guide.md) for details on how to use it.\n\n# Development\n\nRequired elements:\n\n|Name   |Notes\n|-----------|---------|\n|libcoap| Use commit 1739507 of the library, from 2020-08. At time of writing, v4.2.1 from 2019-11 is the most recent tag, but we need the more recent commit.|\n|Nim    | Use v1.4.2 of the language, or higher. See [install page](https://nim-lang.org/install.html).|\n|imgui   | Nim module for GUI. Use v1.78 or higher. We currently build with v1.79. Also requires the shared library for cimgui. See details below.|\n|parsetoml| Nim module to read TOML configuration file. v0.5.0|\n|tempfile| Nim module to create temporary directory for logging. v0.1.7|\n\n### libcoap\nYou must build libcoap from source for development, using either autotools or CMake. See [BUILDING](https://github.com/obgm/libcoap/blob/1739507a1eee6f8831ca7221adaa8d5413527b7f/BUILDING). libcoap supports several TLS libraries. We have tested only with [TinyDTLS](https://github.com/eclipse/tinydtls), which may be installed as a submodule of libcoap, as described in the build instructions.\n\n### Nim\n\nThe core of Cotel is written in Nim. It generates C code internally, which it then compiles to generate the executable. For Nim I find it easiest to install from the *choosenim* utility, as described on the Nim install page. For Nim modules, I use the *Nimble* installer, which is bundled with Nim.\n\n### imgui\n\n[imgui](https://github.com/nimgl/imgui) is the Nim binding module for the [Dear ImGui](https://github.com/ocornut/imgui) GUI library. See the imgui module [README.md](https://github.com/nimgl/imgui/blob/master/README.md) for installation.\n\nIn addition, you must compile the *cimgui* shared library, which provides a C interface to Dear ImGui, which itself is written in C++. The imgui module includes the required source. Simply run `make` in the imgui module `src/imgui/private/cimgui` directory.\n\nFinally, make the cimgui library visible to the generated Cotel executable -- via either copy/symlink to the same directory or with `ldconfig`.\n\n## Building\nTo build Cotel, execute the command below from the top level directory. The compiled executable will be available in the `build/bin` directory.\n\n```\n   $ nim build src/gui/main\n```\n\n## Running\nInstall the generated `cotel` executable, the `cotel.conf` configuration file, and the `cimgui.so` shared library into a directory. Start Cotel in development mode with:\n\n```\n   $ ./cotel --dev\n```\n\nIn development mode, all resources are in the startup directory. `cotel.conf` is generated with reasonable property defaults, but please review the Local Setup view for specifics.\n\n## Hacking\nIf you'd like to make improvements to Cotel, see the [architecture](./doc/architecture.md) document to get started.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkb2ma%2Fcotel","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkb2ma%2Fcotel","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkb2ma%2Fcotel/lists"}