{"id":30065855,"url":"https://github.com/chefe/copyrightlsp","last_synced_at":"2025-08-08T06:39:28.930Z","repository":{"id":301875425,"uuid":"800653507","full_name":"chefe/copyrightlsp","owner":"chefe","description":"A language server for handling copyright notices at the top of a file.","archived":false,"fork":false,"pushed_at":"2025-06-29T10:08:33.000Z","size":40,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-29T11:22:02.727Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Go","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/chefe.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,"zenodo":null}},"created_at":"2024-05-14T18:33:21.000Z","updated_at":"2025-06-29T10:12:49.000Z","dependencies_parsed_at":"2025-06-29T11:22:08.051Z","dependency_job_id":"3616bfbf-3a88-419f-8347-6e357c801f7c","html_url":"https://github.com/chefe/copyrightlsp","commit_stats":null,"previous_names":["chefe/copyrightlsp"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/chefe/copyrightlsp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chefe%2Fcopyrightlsp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chefe%2Fcopyrightlsp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chefe%2Fcopyrightlsp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chefe%2Fcopyrightlsp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chefe","download_url":"https://codeload.github.com/chefe/copyrightlsp/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chefe%2Fcopyrightlsp/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269378352,"owners_count":24407312,"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","status":"online","status_checked_at":"2025-08-08T02:00:09.200Z","response_time":72,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2025-08-08T06:39:27.687Z","updated_at":"2025-08-08T06:39:28.913Z","avatar_url":"https://github.com/chefe.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# copyrightlsp\n\nThis is a language server for handling copyright notices at the top of a file.\n\n## Features\n\n- Show an error on the first line of a document if no copyright header is found\n- Allow to insert a copyright header with a code action if no header is found\n\n## Configuration\n\nThe server expect a `settings` object with the following structure:\n\n```json\n{\n    \"templates\": {\n        \"sh\": [\"# Copyright {year}\"],\n        \"html\": [\"\u003c!-- Copyright {year} --\u003e\"],\n        \"javascript\": [\"/*\", \" * Copyright {year}\", \" */\"]\n    },\n    \"searchRanges\": {\n        \"sh\": 1\n    }\n}\n```\n\nBy default no `templates` and no `searchRanges` are configured!\n\n### Templates\n\nA template is an array of strings, which represent the different lines of a\ncopyright comment. The placeholder `{year}` can be used to insert the current\nyear.\n\n### Search ranges\n\nThe search for the copyright comment starts always at the top of a document and\nincludes the same amount of lines as the template. With this option the search\nrange can be increased to includes `n` additional lines, which allow copyright\ncomments on other lines then the first. This can be useful for files which\nstart with a shebang (`#!`) line. If no value is specified for a language then\n`0` is used as default value.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchefe%2Fcopyrightlsp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchefe%2Fcopyrightlsp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchefe%2Fcopyrightlsp/lists"}