{"id":21107486,"url":"https://github.com/cjhdev/ublink","last_synced_at":"2025-10-26T10:13:15.318Z","repository":{"id":148216412,"uuid":"69187839","full_name":"cjhdev/ublink","owner":"cjhdev","description":"Blink Protocol in C","archived":false,"fork":false,"pushed_at":"2017-04-06T15:01:43.000Z","size":1011,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-01-21T03:42:34.548Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://cjhdev.github.io/ublink_doc","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/cjhdev.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,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-09-25T20:09:29.000Z","updated_at":"2020-09-17T15:09:32.000Z","dependencies_parsed_at":"2023-05-19T11:00:13.434Z","dependency_job_id":null,"html_url":"https://github.com/cjhdev/ublink","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/cjhdev%2Fublink","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cjhdev%2Fublink/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cjhdev%2Fublink/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cjhdev%2Fublink/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cjhdev","download_url":"https://codeload.github.com/cjhdev/ublink/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243551425,"owners_count":20309342,"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":[],"created_at":"2024-11-20T00:40:16.467Z","updated_at":"2025-10-26T10:13:15.252Z","avatar_url":"https://github.com/cjhdev.png","language":"C","readme":"uBlink\n=======\n\n[![Build Status](https://travis-ci.org/cjhdev/ublink.svg?branch=master)](https://travis-ci.org/cjhdev/ublink)\n\n[Blink Protocol](http://www.blinkprotocol.org/ \"Blink Protocol\") in C.\n\n## Highlights\n\n- Hand coded schema parser and lexer\n- Compact form encode/decode primitives\n- Requires malloc but this can be a simple linear allocator\n- User configurable IO streams\n- Tests\n\n## Integrating With Your Project\n\nExample makefile snippet:\n\n~~~ mf\nINCLUDES += $(DIR_UBLINK)/include\n\nVPATH += $(DIR_UBLINK)/src\n\nSRC += $(wildcard $(DIR_UBLINK)/src/*.c)\n\nOBJECTS += $(SRC:.c=.o)\n~~~\n\nAdd `#include \"ublink.h\"` to source files that use the UBlink API.\n\n### Compile Time Options\n\nThe following options can be defined at compile time. \n\n~~~ mf\n# remove asserts (default: not defined)\nDEFINES += -DNDEBUG\n\n# include a file before BLINK_ERROR and BLINK_DEBUG are defined (default: not defined)\nDEFINES += -DBLINK_DEBUG_INCLUDE='#include \u003cruby.h\u003e'\n\n# remove all BLINK_DEBUG() and BLINK_ERROR() messages from code (default: not defined)\nDEFINES += -DBLINK_NO_DEBUG_MESSAGE\n\n# define your own BLINK_DEBUG() macro (default: defined as shown)\nDEFINES += -DBLINK_DEBUG(...)='do{fprintf(stderr, __VA_ARGS__);fprintf(stderr, \"\\n\");}while(0);'\n\n# define your own BLINK_ERROR() macro (default: defined as shown)\nDEFINES += -DBLINK_ERROR(...)='do{fprintf(stderr, __VA_ARGS__);fprintf(stderr, \"\\n\");}while(0);'\n\n# define the largest literal or name that can be handled by the lexer (default: 100)\nDEFINES += -DBLINK_TOKEN_MAX_SIZE=100\n\n# redefine the prefix (default: BLINK_)\n# example: remove the prefix entirely\nDEFINES += -DBLINK_\n~~~\n\n## See Also\n\n[SlowBlink](https://github.com/cjhdev/slow_blink \"SlowBlink\"): Blink Protocol in Ruby\n\n## License\n\nuBlink has an MIT license.\n\n## Contact\n\ncontact@cjh.id.au\n    \n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcjhdev%2Fublink","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcjhdev%2Fublink","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcjhdev%2Fublink/lists"}