{"id":32991281,"url":"https://github.com/drobilla/serd","last_synced_at":"2026-01-11T20:55:41.400Z","repository":{"id":10712343,"uuid":"66715599","full_name":"drobilla/serd","owner":"drobilla","description":"A lightweight C library for RDF syntax","archived":false,"fork":false,"pushed_at":"2025-12-26T15:49:01.000Z","size":9593,"stargazers_count":96,"open_issues_count":8,"forks_count":18,"subscribers_count":6,"default_branch":"main","last_synced_at":"2025-12-28T04:10:19.684Z","etag":null,"topics":["nquads","ntriples","parser","rdf","semantic-web","serializer","turtle"],"latest_commit_sha":null,"homepage":"https://gitlab.com/drobilla/serd","language":"C","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/drobilla.png","metadata":{"files":{"readme":"README.md","changelog":"NEWS","contributing":null,"funding":null,"license":"COPYING","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":"AUTHORS","dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2016-08-27T13:22:40.000Z","updated_at":"2025-12-26T15:49:04.000Z","dependencies_parsed_at":"2023-01-16T19:46:09.588Z","dependency_job_id":"a26f6d46-4e9b-4715-ba98-90e4abef8357","html_url":"https://github.com/drobilla/serd","commit_stats":null,"previous_names":[],"tags_count":24,"template":false,"template_full_name":null,"purl":"pkg:github/drobilla/serd","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drobilla%2Fserd","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drobilla%2Fserd/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drobilla%2Fserd/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drobilla%2Fserd/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/drobilla","download_url":"https://codeload.github.com/drobilla/serd/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drobilla%2Fserd/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28323591,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-11T18:42:50.174Z","status":"ssl_error","status_checked_at":"2026-01-11T18:39:13.842Z","response_time":60,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["nquads","ntriples","parser","rdf","semantic-web","serializer","turtle"],"created_at":"2025-11-13T09:00:33.300Z","updated_at":"2026-01-11T20:55:41.395Z","avatar_url":"https://github.com/drobilla.png","language":"C","readme":"\u003c!-- Copyright 2011-2022 David Robillard \u003cd@drobilla.net\u003e --\u003e\n\u003c!-- SPDX-License-Identifier: ISC --\u003e\n\nSerd\n====\n\nSerd is a lightweight C library for working with RDF data.\n\nSerd can be used by high-performance or resource-limited applications to read\nor write [Turtle][], [TriG][], [NTriples][], and [NQuads][].  The included\n`serdi` tool can be used to efficiently process RDF documents in scripts or on\nthe command-line.\n\nFeatures\n--------\n\n * **Free:** Serd is [Free Software][] released under the extremely liberal\n   [ISC license][].\n\n * **Portable and Dependency-Free:** Serd has no external dependencies other\n   than the C standard library.  It is known to compile with Clang, GCC, and\n   MSVC, and is tested on GNU/Linux, FreeBSD, MacOS, and Windows.\n\n * **Small:** Serd is implemented in a few thousand lines of C.  When optimized,\n   it compiles to well under 100 KiB.\n\n * **Fast and Lightweight:** Serd can stream abbreviated Turtle, unlike many\n   tools which must first build an internal model.  This makes it particularly\n   useful for writing very large data sets, since it can do so using only a\n   small amount of memory.  Serd is, to the author's knowledge, the fastest\n   Turtle reader/writer by a wide margin (see [Performance](#performance)\n   below).\n\n * **Conformant and Well-Tested:** Serd passes all tests in the Turtle and TriG\n   test suites, correctly handles all \"normal\" examples in the URI\n   specification, and includes many additional tests which were written\n   manually or discovered with fuzz testing.  The test suite is run\n   continuously on many platforms, has 100% code coverage by line, and runs\n   with zero memory errors or leaks.  Code quality is continuously checked\n   statically by [clang-tidy][], and dynamically by various clang sanitizers.\n\nPerformance\n-----------\n\nThe benchmarks below compare `serdi`, [rapper][], and [riot][] re-serialising\nTurtle data generated by [sp2b][] on an AMD 1950x.  Of the three, `serdi` is\nthe fastest by a wide margin, and the only one that uses a constant amount of\nmemory for all input sizes.\n\n![Throughput](doc/serdi-throughput.svg)\n![Time](doc/serdi-time.svg)\n![Memory](doc/serdi-memory.svg)\n\nDocumentation\n-------------\n\n * [Installation instructions](INSTALL.md)\n * [Single-page API reference](https://drobilla.gitlab.io/serd/doc/singlehtml/)\n * [Paginated API reference](https://drobilla.gitlab.io/serd/doc/html/)\n * [`serdi` man page](https://drobilla.gitlab.io/serd/man/serdi.html)\n\nVersioning\n----------\n\nSerd uses strict [semantic versioning](http://semver.org/), which reflects the\nABI of the C library.  The shared library name, include directory, and\npkg-config file are all suffixed with the major version number to allow for\nparallel installation of several major versions (which distribution packages\nshould preserve).  To build against serd, use the pkg-config package `serd-0`:\n\n    pkg-config --cflags --libs serd-0\n\n -- David Robillard \u003cd@drobilla.net\u003e\n\n[Turtle]: https://www.w3.org/TR/turtle/\n[TriG]: https://www.w3.org/TR/trig/\n[NTriples]: https://www.w3.org/TR/n-triples/\n[NQuads]: https://www.w3.org/TR/n-quads/\n[Free Software]: http://www.gnu.org/philosophy/free-sw.html\n[ISC license]: http://opensource.org/licenses/isc\n[clang-tidy]: https://clang.llvm.org/extra/clang-tidy/\n[rapper]: http://librdf.org/raptor/\n[riot]: https://jena.apache.org/\n[sp2b]: http://www2.informatik.uni-freiburg.de/~mschmidt/docs/sp2b.pdf\n","funding_links":[],"categories":["Programming"],"sub_categories":["C"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdrobilla%2Fserd","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdrobilla%2Fserd","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdrobilla%2Fserd/lists"}