{"id":17978610,"url":"https://github.com/ad-si/eventlang","last_synced_at":"2025-08-03T04:33:02.801Z","repository":{"id":142369396,"uuid":"45740810","full_name":"ad-si/eventlang","owner":"ad-si","description":"EventLang is a human readable event/logging language. Also sable as a delta encoding for YAML files.","archived":false,"fork":false,"pushed_at":"2024-04-26T19:55:56.000Z","size":5,"stargazers_count":5,"open_issues_count":1,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-11-21T14:38:08.411Z","etag":null,"topics":["delta","javascript","js","log","logging","ts","typescript","yaml"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/ad-si.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":"2015-11-07T14:59:22.000Z","updated_at":"2024-06-17T17:56:48.000Z","dependencies_parsed_at":null,"dependency_job_id":"62903b3a-b485-434d-82a3-5416d23efb39","html_url":"https://github.com/ad-si/eventlang","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/ad-si%2Feventlang","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ad-si%2Feventlang/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ad-si%2Feventlang/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ad-si%2Feventlang/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ad-si","download_url":"https://codeload.github.com/ad-si/eventlang/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228129006,"owners_count":17873889,"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":["delta","javascript","js","log","logging","ts","typescript","yaml"],"created_at":"2024-10-29T17:34:31.334Z","updated_at":"2024-12-06T21:12:35.794Z","avatar_url":"https://github.com/ad-si.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# EventLang\n\nEventLang is a human readable (subset of YAML) event/logging language.\nFurthermore it can be used as a delta encoding for YAML files.\n\n\n## Syntax\n\nEvenLang is basically a map of timestamps\nwith an assigned map of key value pairs.\n\n```YAML\n1990-03-07 13:37:\n\tname: John Doe\n2010-07-01:\n\tjob: Designer\n2015-10-15:\n\tjob: Developer\n```\n\n\n## Usage\n\n### As Event/Logging Language\n\nE.g. it might be used for a server log:\n\n```YAML\n2015-09-12 09:24:13:\n\tuser: John Doe\n\taction: \"mkdir test\"\n2015-09-12 09:24:13:\n\tuser: Thomas Doe\n\taction: \"cd /var/www\"\n2015-09-12 09:24:13:\n\tuser: John Doe\n\taction: \"touch test/a.txt\"\n```\n\n\n## As Delta Encoding\n\nEventLang can also be use as a delta encoding for YAML files.\nE.g. it could be used as a storage format for to-dos in a to-do manager\nwhile keeping their history.\n\n```YAML\n2015-08-03 15:46:\n\ttitle: Buy milk\n2015-08-04 10:12:\n\ttitle: Buy 3 bottles of milk\n2015-08-05 08:33:\n\tpriority: high\n2015-08-06 22:51:\n\tcompleted: true\n```\n\nCompiled to a YAML file this would yield:\n\n```YAML\ntitle: Buy 3 bottles of milk\npriority: high\ncompleted: true\n```\n\n\n# Related\n\n- [JSON Patch RFC](https://www.rfc-editor.org/rfc/rfc6902) -\n    Format for describing changes to a JSON document.\n    ([jsonpatch.com](https://jsonpatch.com))\n- [JSON Merge Patch RFC](https://www.rfc-editor.org/rfc/rfc7396) -\n    Describing a set of modifications to a target resource's content.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fad-si%2Feventlang","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fad-si%2Feventlang","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fad-si%2Feventlang/lists"}