{"id":42980895,"url":"https://github.com/fhem/mod_template","last_synced_at":"2026-01-31T01:44:37.911Z","repository":{"id":39618777,"uuid":"327433893","full_name":"fhem/mod_template","owner":"fhem","description":"Template Repository for your custom Module","archived":false,"fork":false,"pushed_at":"2025-11-24T20:07:58.000Z","size":110,"stargazers_count":1,"open_issues_count":2,"forks_count":1,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-11-28T07:55:03.078Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Perl","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fhem.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGED","contributing":null,"funding":null,"license":"LICENSE","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":"2021-01-06T21:32:19.000Z","updated_at":"2025-11-24T20:07:55.000Z","dependencies_parsed_at":"2024-06-17T23:14:06.643Z","dependency_job_id":"065b23cd-3e3a-4db9-bd45-8d379f54a721","html_url":"https://github.com/fhem/mod_template","commit_stats":null,"previous_names":[],"tags_count":0,"template":true,"template_full_name":null,"purl":"pkg:github/fhem/mod_template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fhem%2Fmod_template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fhem%2Fmod_template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fhem%2Fmod_template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fhem%2Fmod_template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fhem","download_url":"https://codeload.github.com/fhem/mod_template/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fhem%2Fmod_template/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28926502,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-30T22:32:35.345Z","status":"ssl_error","status_checked_at":"2026-01-30T22:32:31.927Z","response_time":66,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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":[],"created_at":"2026-01-31T01:44:37.708Z","updated_at":"2026-01-31T01:44:37.826Z","avatar_url":"https://github.com/fhem.png","language":"Perl","funding_links":[],"categories":[],"sub_categories":[],"readme":"# mod_template\nTemplate Repository for your custom Module\n\n# Files included in this template:\n\n\n## Fhem module files and folders\n\n### FHEM/98_HELLO.pm\n\nHello world module. Included here for demonstration from FHEM Wiki\n\nLook for development guideof a FHEM Module at the FHEM wiki\nhttps://wiki.fhem.de/wiki/DevelopmentModuleIntro\n\nWrite your own module with your own filename\n\n\n### lib/\n\nPut any libs(pure perl modules) you provide in a own package (not main) create in here\n\n\n## automated Testing\n\n\n\n### t/FHEM/98_HELLO/*\n\nUnittests for the fhem mdoule run via github actions if needed you have to write them into folder t/FHEM/\u003cmodulename\u003e/\n\n\n### t/FHEM/\u003cpackagename\u003e/*\n\nUnittests for the perl mdoule run via github actions if needed you have to write them into folder t/FHEM/\u003cPACKAGENAME\u003e/\nUnittests (run prove on perl modules (testscripts)) needs to be enabled in the fhem_test.yml workflow\n\n```\n    - name: run prove on perl modules (testscripts)\n      run: prove --exec 'perl -MDevel::Cover=-silent,1 -I FHEM ' -I FHEM -r -vv t/FHEM/\u003cpackagename\u003e\n```\n\n### cpanfile\n\nCpan modules needed for running your module and your tests, they will be installed after perl is set up and running \n\n### .github/workflows/update.yml\n\nThis is a github action workflow which creates a controls file which is needed for fhem update command.\nYou are then able to install your new module \n`update all https://raw.githubusercontent.com/fhem/\u003creponame\u003e/\u003cbranch\u003e/controls_\u003creponame\u003e.txt`\n\n### .github/workflows/fhem_test.yml\n\nThis is a github action workflow which runs all your tests in t/xx_\u003cModule\u003e folder with different perl versions.\n\n### .github/dependabot.yml\n\nDependabot will check if there are new versions form used actions you are using in your worflows and inform you.\n\n### Code coverage\nYou can use codecov (https://about.codecov.io/)  to monitor your test code coveage.\nSimply enable the coverage action an provide a token vom codecov.io via github secrets\n\n    - uses: codecov/codecov-action@v1\n      with:\n        token: ${{ secrets.CODECOV_TOKEN }}\n        file: ./cover_db/clover.xml\n        flags: unittests,fhem,modules\n        name: fhem (testscripts) ${{ matrix.perl }}\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffhem%2Fmod_template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffhem%2Fmod_template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffhem%2Fmod_template/lists"}