{"id":18707960,"url":"https://github.com/discourse/discourse-antivirus","last_synced_at":"2025-07-04T08:04:29.876Z","repository":{"id":37075602,"uuid":"271365276","full_name":"discourse/discourse-antivirus","owner":"discourse","description":"Scan your Discourse uploads.","archived":false,"fork":false,"pushed_at":"2025-06-05T10:36:01.000Z","size":485,"stargazers_count":13,"open_issues_count":1,"forks_count":1,"subscribers_count":22,"default_branch":"main","last_synced_at":"2025-06-05T11:36:10.303Z","etag":null,"topics":["discourse-plugin"],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/discourse.png","metadata":{"files":{"readme":"README.md","changelog":null,"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}},"created_at":"2020-06-10T19:20:30.000Z","updated_at":"2025-06-05T10:35:06.000Z","dependencies_parsed_at":"2023-12-13T20:32:47.163Z","dependency_job_id":"755cc1bb-ab65-4356-80f6-bf0fb4790231","html_url":"https://github.com/discourse/discourse-antivirus","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/discourse/discourse-antivirus","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/discourse%2Fdiscourse-antivirus","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/discourse%2Fdiscourse-antivirus/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/discourse%2Fdiscourse-antivirus/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/discourse%2Fdiscourse-antivirus/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/discourse","download_url":"https://codeload.github.com/discourse/discourse-antivirus/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/discourse%2Fdiscourse-antivirus/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263472275,"owners_count":23471811,"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":["discourse-plugin"],"created_at":"2024-11-07T12:20:39.783Z","updated_at":"2025-07-04T08:04:29.851Z","avatar_url":"https://github.com/discourse.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# discourse-antivirus\n\nScan your Discourse uploads using ClamAV.\n\n## Using the plugin in production\n\nTo use this plugin in production, you must provide an SRV record that resolves to the hostnames/ports where ClamAV is running. See the `antivirus_srv_record` site setting.\n\n## Using the plugin locally\n\nTo communicate with your local ClamAV server, add the `clamav_hostname` and `clamav_port` variables to your `discourse.conf` file.\n\n## Background scans\n\nThe plugin will perform background scans regularly. We use the following cadence to scan files: \n\n- Scan an upload if we never scanned it before.\n- Scan on every ClamAV database update until the upload is one week old.\n- Re-scan occasionally but at ever-increasing intervals independently of definition updates\n\n## Real-time Scanning\n\nWe scan uploads before they get uploaded to the store by listening to the `:before_upload_creation` event, and sending the file to the antivirus. \n\nWe skip images by default, enable the `antivirus_live_scan_images` site setting if you want to real-time scan them.\n\n## Testing the plugin\n\nIf you're looking for a file to upload and test the plugin yourself, take a look at the [EICAR test file](https://en.wikipedia.org/wiki/EICAR_test_file)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdiscourse%2Fdiscourse-antivirus","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdiscourse%2Fdiscourse-antivirus","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdiscourse%2Fdiscourse-antivirus/lists"}