{"id":43086348,"url":"https://github.com/delphidabbler/codesnip","last_synced_at":"2026-01-31T15:11:48.902Z","repository":{"id":4146751,"uuid":"43677718","full_name":"delphidabbler/codesnip","owner":"delphidabbler","description":"A code bank designed with Pascal in mind","archived":false,"fork":false,"pushed_at":"2025-09-12T08:15:37.000Z","size":20930,"stargazers_count":118,"open_issues_count":16,"forks_count":35,"subscribers_count":12,"default_branch":"master","last_synced_at":"2025-09-12T09:36:38.676Z","etag":null,"topics":["code","code-repository","code-sharing","code-snippets","codesnip","delphi","delphi-library","delphi-source","pascal","pascal-repository","snippets"],"latest_commit_sha":null,"homepage":"https://delphidabbler.com/software/codesnip","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":"Docs/ReadMe-portable.txt","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","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":"2015-10-05T10:21:21.000Z","updated_at":"2025-09-12T07:57:28.000Z","dependencies_parsed_at":"2023-11-08T06:43:16.664Z","dependency_job_id":"496e1058-cdfe-40d3-a0ff-e6ff0d9c81b6","html_url":"https://github.com/delphidabbler/codesnip","commit_stats":null,"previous_names":[],"tags_count":132,"template":false,"template_full_name":null,"purl":"pkg:github/delphidabbler/codesnip","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/delphidabbler%2Fcodesnip","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/delphidabbler%2Fcodesnip/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/delphidabbler%2Fcodesnip/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/delphidabbler%2Fcodesnip/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/delphidabbler","download_url":"https://codeload.github.com/delphidabbler/codesnip/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/delphidabbler%2Fcodesnip/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28946332,"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","code-repository","code-sharing","code-snippets","codesnip","delphi","delphi-library","delphi-source","pascal","pascal-repository","snippets"],"created_at":"2026-01-31T15:11:48.332Z","updated_at":"2026-01-31T15:11:48.890Z","avatar_url":"https://github.com/delphidabbler.png","language":"Pascal","funding_links":[],"categories":[],"sub_categories":[],"readme":"================================================================================\n\nDELPHIDABBLER CODESNIP v4 PORTABLE EDITION README\n\n================================================================================\n\n\nWhat is CodeSnip?\n================================================================================\n\nDelphiDabbler CodeSnip 4 is a code snippets repository targetted at the Pascal /\nDelphi programming languages. It can download and display code snippets from the\nonline DelphiDabbler Code Snippets database as well as maintain a database of\nuser-defined snippets.\n\nIt displays details of each snippet in the database and can test-compile them\nwith each installed Win32 version of Delphi from Delphi 2 to Delphi 13.x and\nFree Pascal.\n\nCompilable Pascal units can be created that contain selected snippets.\n\n\nCodeSnip Editions\n================================================================================\n\nThis document relates to the PORTABLE edition of CodeSnip. This edition can be\nrun from any writeable removable storage medium (e.g. a USB memory stick) or\nfrom any folder on the computer's hard disk. It makes no changes to the host\ncomputer.\n\nThere is also a standard edition of the program. This edition is installed on\nthe user's computer using an installer. It records its presence in the registry\nand stores data in the system's application and user data directories. You can\nget the standard edition from the same place you downloaded the this edition.\n\nYou can run both the standard and portable editions together on the same\ncomputer and even run them at the same time. However, each edition maintains its\nown settings and keeps its own copies of the snippets databases. To share user\ndefined snippets you must export them from one edition and import into the\nother. CodeSnip provides no mechanism for keeping them synchronised.\n\n\nInstallation\n================================================================================\n\nCodeSnip requires Windows 2000 or later. It also requires MS Internet Explorer 6\nor later, although IE 8, 9 or 10 are strongly recommended. Note that recent\nreleases have only been tested on Windows 11.\n\nThe portable edition of CodeSnip 4 is distributed in a zip file that contains\nthe program executable, the help file and various documentation files.\n\nInstall the program using the following steps:\n\n1) Mount any storage medium on which you want to install CodeSnip.\n\n2) Create a folder on the storage medium or on your computer's internal disk in\n   which to copy the required files.\n\n3) Copy the files CodeSnip-p.exe (the executable program) and CodeSnip.chm\n   (the help file) into the folder you created.\n\n   CodeSnip does not need the other files included in the zip file in order to\n   run, but you may find them useful. Copy them if you wish.\n\nRun the program by double clicking it. When it first runs it will create two\nsub-directories within the folder where you installed the program. These will\nbe named AppData and UserData. Do not remove these directories or alter any of\nthe contents because CodeSnip uses them to store configuration data along with\nyour code snippets.\n\nNo files are written outside the folder where you copied the files and the\nregistry is not modified.\n\n** WARNING: When updating an existing portable installation with a new version\nof CodeSnip it is important that you do not change or delete the AppData and\nUserData folders. If you do this you risk loosing your settings and/or database.\n\n\nUninstallation\n================================================================================\n\nSimply delete the folder where you installed the portable edition of CodeSnip\nalong with all its contents.\n\nBe aware that any snippets you have created will be lost. If you want to keep\nthem for use in another CodeSnip installation, either export them or back up the\nuser database before deleting the folder. See the help file for details of how\nto do this.\n\n\nDownloading \u0026 Updating the Code Snippets Database\n================================================================================\n\nThe online DelphiDabbler Code Snippets database is not installed with the\nprogram.\n\nCodeSnip's start-up screen shows details of any installed databases. If there is\nno copy of the online database then a link is displayed that enables the\ndatabase to be installed. This link opens the \"Install or Update DelphiDabbler\nSnippets Database\" wizard dialogue box. The dialogue box explains how to\ndownload and install the database.\n\nYou can download or update the database later by opening the same dialogue box\nusing the \"Database | Install or Update DelphiDabbler Snippets Database\" menu\noption.\n\n\nConfiguring CodeSnip to Work With Your Compilers\n================================================================================\n\nA feature of CodeSnip is its ability to test compile snippets with any installed\nWindows 32 version of Delphi (from Delphi 2 to Delphi.x) and FreePascal,\nproviding some simple rules are followed.\n\nWhen CodeSnip is first installed it knows nothing about the available compilers\nand so test compilations cannot be performed. If any supported Delphi compiler\nis detected when the program is first run you will be given the option of\nregistering it. This does not work for Free Pascal.\n\nYou can also tell CodeSnip about the available compilers by using the \"Tools |\nConfigure Compilers\" menu option. The resulting dialogue can automatically\ndetect all installed versions of supported Delphi compilers at the click of a\nbutton. Free Pascal, where installed, must be set up manually. The Welcome page\ndisplays a list of compilers it has been configured to work with.\n\nCompilers that do not use English as their output language will need further\nconfiguration. See the help file for information (look up \"configure compilers\ndialogue\" in the help file index).\n\nEach user can configure compilers differently.\n\nDelphi XE2 and later may need to be configured to search for required units in\nthe correct namespaces. This is explained in the Add/Edit Snippet Dialogue Box\nhelp topic and in the FAQ at\nhttps://github.com/delphidabbler/codesnip-faq/blob/master/UsingCodeSnip.md#faq-7\n\nAny type of snippet other than \"freeform\" can be test compiled.\n\n\nUpdating the Program\n================================================================================\n\nUpdates are published on GitHub. See\nhttps://github.com/delphidabbler/codesnip/releases\n\nNews of new updates is published on the DelphiDabbler Blog:\nhttps://delphidabbler.blogspot.com/.\n\n\nKnown Installation and Upgrading Issues\n================================================================================\n\n+ If you have updated to CodeSnip v4.2.0 or later from any earlier v4 release,\n  and then run the earlier version of the program again, its saved main window\n  state, size, position and layout will have been lost and the program will\n  display in its default size.\n\n+ If you have updated to CodeSnip v4.3.0 or later from v4.2.x or earlier any -NS\n  command line options you have specified on the \"Switches\" (aka \"Command Line\")\n  tab of the Configure Compilers dialogue box for Delphi XE2 or later will be\n  removed and equivalent entries will have been made on the \"Namespaces\" tab.\n\n+ CodeSnip v4.16.0 and later cannot be registered. Any previous registration\n  information may be lost.\n\n\nLicense \u0026 Disclaimer\n================================================================================\n\nCodeSnip is made available under the terms of the Mozilla Public License v2.0.\nThe license is explained in full in the file License.html that is installed with\nCodeSnip. A summary of the license can be viewed from the \"Help | License\" menu\noption.\n\nCodeSnip is supplied on an \"AS IS\" basis, WITHOUT WARRANTY OF ANY KIND, either\nexpress or implied. See License.html for details.\n\nThe source code of any snippet managed by CodeSnip, whether from the\nDelphiDabbler Code Snippets Database or the user database, is used WITHOUT\nWARRANTY OF ANY KIND, either express or implied. The code is used entirely at\nthe user's own risk.\n\nThe snippets from the DelphiDabbler Code Snippets Database are open source. See\nthe \"About The Database\" tab of the About dialogue box for details of the\napplicable license. (You can display the About box from the \"Help\" menu.)\n\nThe user is responsible to ensure that any code snippets managed by CodeSnip are\nused in accordance with any applicable license.\n\n\nSource Code\n================================================================================\n\nCodeSnip's source code is freely available. For details of how to obtain the\nsource see the FAQ at\nhttps://github.com/delphidabbler/codesnip-faq/blob/master/SourceCode.md#faq-1\n\nThe portable edition of CodeSnip shares the same source code base with the\nstandard edition.\n\nThe original source code of v4 is released under the Mozilla Public license\nv2.0 (see https://www.mozilla.org/MPL/) and other open source licenses. See the\nfile \"License.html\" in the \"Docs\" directory of the repository for full licensing\ninformation.\n\n\nBugs \u0026 Feature Requests\n================================================================================\n\nPlease do report any bugs you find. Suggestions for new features are also\nwelcomed.\n\nBoth bug reports and feature requests are made using the GitHub issue tracker\n(GitHub account required). For details about using the issue tracker see\nhttps://github.com/delphidabbler/codesnip/blob/master/CONTRIBUTING.md#issues.\n\n\nFAQs\n================================================================================\n\nThere are Frequently Asked Questions pages for CodeSnip on the web, at\nhttps://github.com/delphidabbler/codesnip-faq/blob/master/README.md\n\n\nPrivacy\n================================================================================\n\nFrom v4.16.0 CodeSnip neither stores nor transmits any personally identifiable\ndata.\n\nDo note though that CodeSnip can display web pages via your default web browser,\nbut only in response to user input. No guarantee is made about any personal data\ncollected by such web pages.\n\n\nThanks\n================================================================================\n\nThanks to:\n\n+ David Mustard and Bill Miller for providing information that enabled me to add\n  Delphi 2007 and Delphi 2009 support, respectively, to the program.\n\n+ geoffsmith82 and an anonymous contributor for information about getting\n  CodeSnip to work with Delphi XE2.\n\n+ The authors of the third party source code and images used by the program. See\n  the program's about box or License.html for details.\n\n+ SirRufo for helping to fix a long standing bug where CodeSnip would crash on\n  resuming from hibernation.\n\n+ Various contributors to the DelphiDabbler Code Snippets database. Names of\n  contributors are listed in the program's About Box (use the \"Help | About\"\n  menu option then select the \"About the Database\" tab). The list will be empty\n  if the Code Snippets Database has not been installed.\n\n\n================================================================================\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdelphidabbler%2Fcodesnip","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdelphidabbler%2Fcodesnip","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdelphidabbler%2Fcodesnip/lists"}