{"id":22621432,"url":"https://github.com/cca/koha_snippets","last_synced_at":"2025-04-11T16:37:01.470Z","repository":{"id":40598673,"uuid":"60130810","full_name":"cca/koha_snippets","owner":"cca","description":"code to be pasted into Koha's admin side","archived":false,"fork":false,"pushed_at":"2025-04-10T00:03:12.000Z","size":1699,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":10,"default_branch":"main","last_synced_at":"2025-04-11T16:36:53.475Z","etag":null,"topics":["catalog","koha","kohails","libraries","opac"],"latest_commit_sha":null,"homepage":"https://library.cca.edu","language":"JavaScript","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/cca.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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-05-31T23:36:27.000Z","updated_at":"2025-04-10T00:03:15.000Z","dependencies_parsed_at":"2024-01-22T20:38:08.535Z","dependency_job_id":"dd7407dc-d3fc-47c9-8e30-3eaeb70320ef","html_url":"https://github.com/cca/koha_snippets","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cca%2Fkoha_snippets","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cca%2Fkoha_snippets/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cca%2Fkoha_snippets/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cca%2Fkoha_snippets/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cca","download_url":"https://codeload.github.com/cca/koha_snippets/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248441517,"owners_count":21104010,"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":["catalog","koha","kohails","libraries","opac"],"created_at":"2024-12-08T23:08:53.216Z","updated_at":"2025-04-11T16:37:01.457Z","avatar_url":"https://github.com/cca.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Koha Snippets\n\nSnippets of code to be inserted into the administrative settings of Koha.\n\n## Development\n\n`npm` scripts automate development tasks. These tasks let us write many small snippets of code which accomplish one thing \u0026 then combine them into a single optimized file. Run `npm install` to get the necessary dependencies. Then, from inside this project, these `npm run` scripts are available:\n\n- `build` - run all the compilation scripts listed here, meta-task\n- `ajs` - minify all **a**dmin (staff-side) JavaScript\n- `cjs` - minify all public **c**atalog JavaScript\n- `acss` - compile \u0026 minify staff-side styles\n- `ccss` - compile \u0026 minify public catalog styles\n- `cookiejs` - minify `CookieConsentJS` for the public catalog\n\nEach of these tasks are compile/minify code for a specific Koha setting, copy the output to the Mac OS clipboard, and open the setting's URL in Koha's administration module. The first letter of the task stands for either \"admin\" or \"catalog\". CCA's intranet domain is hard-coded into them. All output also goes in the \"dist\" directory.\n\n## MARC Frameworks\n\nOur MARC schemas are in [a subdirectory](./marc_frameworks/) with their own readme.\n\n## License\n\n[ECL-2.0](https://opensource.org/licenses/ECL-2.0)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcca%2Fkoha_snippets","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcca%2Fkoha_snippets","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcca%2Fkoha_snippets/lists"}