{"id":18847843,"url":"https://github.com/interkosmos/fortran-paho","last_synced_at":"2025-04-14T08:10:49.029Z","repository":{"id":59782001,"uuid":"150130968","full_name":"interkosmos/fortran-paho","owner":"interkosmos","description":"Fortran 2008 interface bindings to the Eclipse Paho MQTT client library","archived":false,"fork":false,"pushed_at":"2024-01-01T18:12:17.000Z","size":30,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-27T21:46:45.254Z","etag":null,"topics":["fortran","iot","mqtt","paho"],"latest_commit_sha":null,"homepage":"","language":"Fortran","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"isc","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/interkosmos.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}},"created_at":"2018-09-24T16:09:35.000Z","updated_at":"2024-01-01T18:11:36.000Z","dependencies_parsed_at":"2024-01-07T14:12:33.707Z","dependency_job_id":null,"html_url":"https://github.com/interkosmos/fortran-paho","commit_stats":{"total_commits":21,"total_committers":1,"mean_commits":21.0,"dds":0.0,"last_synced_commit":"0b108c53fe0a28323226e2416cce9f63029371b9"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/interkosmos%2Ffortran-paho","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/interkosmos%2Ffortran-paho/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/interkosmos%2Ffortran-paho/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/interkosmos%2Ffortran-paho/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/interkosmos","download_url":"https://codeload.github.com/interkosmos/fortran-paho/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248843867,"owners_count":21170492,"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":["fortran","iot","mqtt","paho"],"created_at":"2024-11-08T03:09:51.181Z","updated_at":"2025-04-14T08:10:49.002Z","avatar_url":"https://github.com/interkosmos.png","language":"Fortran","funding_links":[],"categories":[],"sub_categories":[],"readme":"# fortran-paho\n\nA collection of Fortran 2008 interface bindings to the\n[Eclipse Paho](https://www.eclipse.org/paho/) MQTT client library, to\nconnect Fortran to the Internet of Things. Currently, *fortran-paho* is just a\nproof of concept.\n\n## Requirements\n\nA Fortran 2008 compiler and the Eclipse Paho C library are required to build and\nlink the library. On FreeBSD, just install the package `libpaho-mqtt3`:\n\n```\n# pkg install net/libpaho-mqtt3\n```\n\nAlternatively, clone the [repository](https://github.com/eclipse/paho.mqtt.c)\nand build Paho from source:\n\n```\n$ git clone https://github.com/eclipse/paho.mqtt.c\n$ cd paho.mqtt.c/\n$ mkdir build \u0026\u0026 cd build/\n$ cmake ..\n$ make\n$ make install\n```\n\n## Build Instructions\n\nClone the repository with Git and execute the Makefile:\n\n```\n$ git clone https://github.com/interkosmos/fortran-paho\n$ cd fortran-paho/\n$ make\n```\n\nYou can override the default compiler (`gfortran`) by passing the `FC`\nargument, for example:\n\n```\n$ make FC=ifx\n```\n\nLink your Fortran programs against `libfortran-paho.a -lpaho-mqtt3c`, for\ninstance:\n\n```\n$ gfortran -o example example.f90 libfortran-paho.a -lpaho-mqtt3c\n```\n\n## Examples\n\nThe source code of some demo applications is located in directory `examples/`.\nThe examples require a running MQTT message broker. Either start a local broker\nor connect to `iot.eclipse.org` on port `1883`.\n\n* **subscribe** connects to an MQTT message broker, subscribes a topic, and\n  prints the payload of received messages.\n* **publish** connects to an MQTT message broker and publishes to a topic.\n\nBuild the examples with:\n\n```\n$ make examples\n```\n\n## Licence\n\nISC\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finterkosmos%2Ffortran-paho","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Finterkosmos%2Ffortran-paho","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finterkosmos%2Ffortran-paho/lists"}