{"id":43086333,"url":"https://github.com/delphidabbler/code-snippets","last_synced_at":"2026-03-02T20:01:57.619Z","repository":{"id":147735798,"uuid":"239046781","full_name":"delphidabbler/code-snippets","owner":"delphidabbler","description":"A large collection of reusable Pascal code snippets.","archived":false,"fork":false,"pushed_at":"2025-09-13T14:16:33.000Z","size":1688,"stargazers_count":33,"open_issues_count":14,"forks_count":2,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-09-13T16:25:32.526Z","etag":null,"topics":["code-snippets","code-snippets-pascal","delphi","pascal-language"],"latest_commit_sha":null,"homepage":"","language":"Pascal","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/delphidabbler.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.md","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2020-02-08T00:33:28.000Z","updated_at":"2025-07-20T21:57:46.000Z","dependencies_parsed_at":"2024-04-10T04:32:53.984Z","dependency_job_id":"24cdb362-0aab-405e-aff3-5fadf460e799","html_url":"https://github.com/delphidabbler/code-snippets","commit_stats":null,"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"purl":"pkg:github/delphidabbler/code-snippets","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/delphidabbler%2Fcode-snippets","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/delphidabbler%2Fcode-snippets/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/delphidabbler%2Fcode-snippets/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/delphidabbler%2Fcode-snippets/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/delphidabbler","download_url":"https://codeload.github.com/delphidabbler/code-snippets/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/delphidabbler%2Fcode-snippets/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28946318,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-31T14:26:55.697Z","status":"ssl_error","status_checked_at":"2026-01-31T14:26:52.545Z","response_time":128,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":["code-snippets","code-snippets-pascal","delphi","pascal-language"],"created_at":"2026-01-31T15:11:30.296Z","updated_at":"2026-01-31T15:11:30.853Z","avatar_url":"https://github.com/delphidabbler.png","language":"Pascal","readme":"# DelphiDabbler Code Snippets Collection\n\n## Overview\n\nThis repository contains a collection of over 700 reusable Pascal code snippets. The majority are simple functions and procedures but there are also some constants and type definitions, including some advanced records with methods.\n\nSnippets are grouped into categories, with each snippet belonging to exactly one category.\n\nAll of the snippets have been tested to some extent: some received basic testing while others have been tested more comprehensively. The collection contains details of the level of testing each snippet received.\n\n## Purpose\n\nThe primary purpose of the collection is for use with the _DelphiDabbler [CodeSnip](https://github.com/delphidabbler/codesnip)_ program.\n\nHowever the intent is that other applications will also be able to use the collection by parsing the meta data provided with it.\n\n## Documentation\n\nThe collection data format is [fully documented](https://htmlpreview.github.io/?https://github.com/delphidabbler/code-snippets/blob/master/docs/index.html) in `docs` directory.\n\n## Using the Collection\n\nAnyone is welcome to write applications or web pages that access the snippets in the collection, subject to the terms of the license (see below). You should read the collection's documentation which explains the file formats in detail.\n\n⚠️ Implementers **must not** read the collection data directly from this GitHub repository - that could generate more than the permitted amount of traffic. Instead you must download a release from the _Releases_ tab and either distribute the collection with the application or host it on a web server.\n\n## Tests\n\nUnit tests and demonstration projects are available for _some_ of the snippets.\n\nSource code for these tests and demonstrations is available in the `tests` directory. There is a sub-directory for each category where such code is available.\n\nSee the `README.md` file in the `tests` directory for full details.\n\n## Releases\n\nReleases can be found on the `releases` tab on the GitHub project page.\n\nEach release[^1] comprises three zip files, as follows (replace `X.Y.Z` in the file names with the release version number):\n\n* `csdb-vX.Y.Z-data.zip` - Contains all the data in the collection. Required by applications that access the collection.\n* `csdb-vX.Y.Z-docs.zip` - Contains the documentation developers need to understand the structure of the data.\n* `csdb-vX.Y.Z-tests.zip` - Contains the unit tests and demo code.\n\n## Development\n\nThis repo uses the [Git Flow](http://nvie.com/posts/a-successful-git-branching-model/) methodology - i.e. development proceeds on the `develop` branch and `feature` branches off it. Only released content appears on the `master` branch.\n\n## History \u0026 Changes\n\nThis repository contains version 2 of the collection.\n\nVersion 1 was designed exclusively for use with _DelphiDabbler [CodeSnip](https://github.com/delphidabbler/codesnip)_ (v4.15.1 and earlier). It was downloaded by the program directly from a web service on DelphiDabbler.com. This version was not developed under Git and is longer available.\n\nVersion 2 is designed to be able to be used by other applications in addition to _CodeSnip_ (v4.16.0 or later). This version is **not** backwards compatible with version 1.\n\nThe project's change log can be found in `CHANGELOG.md`.\n\n## License\n\nThis project is MIT Licensed. See `LICENSE.md` for full details.\n\n[^1]: `csdb-vX.Y.Z-tests.zip` was only available from v2.0.1.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdelphidabbler%2Fcode-snippets","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdelphidabbler%2Fcode-snippets","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdelphidabbler%2Fcode-snippets/lists"}