{"id":21333589,"url":"https://github.com/benjamin-dcs/file-plusplus","last_synced_at":"2025-06-11T21:09:32.578Z","repository":{"id":263619452,"uuid":"866164198","full_name":"benjamin-dcs/file-plusplus","owner":"benjamin-dcs","description":"The File++ integration allows storing large, multi-line notifications in a file or setting up a sensor based on a file’s (multi-line) content.","archived":false,"fork":false,"pushed_at":"2025-04-08T14:28:13.000Z","size":77,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-08T06:36:38.692Z","etag":null,"topics":["hacs-integration","homeassistant","homeassistant-custom-component"],"latest_commit_sha":null,"homepage":"","language":"Python","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/benjamin-dcs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"buy_me_a_coffee":"benjamindcs"}},"created_at":"2024-10-01T18:54:02.000Z","updated_at":"2025-04-17T20:14:25.000Z","dependencies_parsed_at":"2025-04-04T11:20:04.958Z","dependency_job_id":"33455539-b8fb-498b-8794-f35b7af0c510","html_url":"https://github.com/benjamin-dcs/file-plusplus","commit_stats":null,"previous_names":["benjamin-dcs/file-plusplus"],"tags_count":16,"template":false,"template_full_name":null,"purl":"pkg:github/benjamin-dcs/file-plusplus","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benjamin-dcs%2Ffile-plusplus","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benjamin-dcs%2Ffile-plusplus/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benjamin-dcs%2Ffile-plusplus/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benjamin-dcs%2Ffile-plusplus/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/benjamin-dcs","download_url":"https://codeload.github.com/benjamin-dcs/file-plusplus/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benjamin-dcs%2Ffile-plusplus/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259340812,"owners_count":22843055,"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":["hacs-integration","homeassistant","homeassistant-custom-component"],"created_at":"2024-11-21T23:13:26.568Z","updated_at":"2025-06-11T21:09:32.572Z","avatar_url":"https://github.com/benjamin-dcs.png","language":"Python","funding_links":["https://buymeacoffee.com/benjamindcs","https://www.buymeacoffee.com/benjamindcs"],"categories":[],"sub_categories":[],"readme":"# File++\nBased on the Home Assistant Core Integration [`File`](https://www.home-assistant.io/integrations/file/), I created a custom version that reads and writes **multi-line** content. \n\n**Use case examples:**\n- Store and read data larger than 255 characters\n- Load email HTML templates\n- Store large AI/ChatGPT responses\n- ... and much more!\n\n**Features:**\n- Use the `notify` service to write multi-line content to a local file. If a file already exists, its content will be erased and the new content will be stored\n- Use the `sensor` service to read multi-line content from a local file. The content is available in the `content` attribute of the sensor.\n\n**Removed:**\n- State of the `sensor` no longer holds the content of the file. Shows 'Ok' (for now :) ).\n- No header is written to empty/new files\n\n**Notes:**\n- ⚠︎ I have **not** limited the size of the filesize for the `sensor` service. On a dev setup I successfully read the 10M ([Studenten Net Twente FTP](https://ftp.snt.utwente.nl/pub/test/)) file. The 1000M ended up in a crash-reboot loop from HA.\n\n# Installation\n\n## Install via HACS (recommended) \n[![Open your Home Assistant instance and open a repository inside the Home Assistant Community Store.](https://my.home-assistant.io/badges/hacs_repository.svg)](https://my.home-assistant.io/redirect/hacs_repository/?owner=benjamin-dcs\u0026repository=file-plusplus\u0026category=Integration)\n\n## Manual install\n1) Download the latest release of the File++ from this repository;\n2) In Home Assistant, create a folder `config/custom_components`;\n3) Add the File++ files to the `custom_components` folder (you should end up it with a `config/custom_components/file_plusplus` folder);\n4) Restart Home Assistant;\n5) Add a File++ entity as an Integration in Home Assistant `(menu: settings -\u003e devices \u0026 services -\u003e add integration)`;\n\nFor updates, repeat step 1 to 4. Home Assistant will not delete any configuration.\n\n# Configuration\nConfiguration is done the same as the Home Assistant Core Integration [`File`](https://www.home-assistant.io/integrations/file/)\n\n# Support\n\u003ca href=\"https://www.buymeacoffee.com/benjamindcs\" target=\"_blank\"\u003e\u003cimg src=\"https://cdn.buymeacoffee.com/buttons/v2/default-yellow.png\" alt=\"Buy Me A Coffee\" style=\"height: 60px !important;width: 217px !important;\" \u003e\u003c/a\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbenjamin-dcs%2Ffile-plusplus","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbenjamin-dcs%2Ffile-plusplus","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbenjamin-dcs%2Ffile-plusplus/lists"}