{"id":19444177,"url":"https://github.com/apparatno/ficus","last_synced_at":"2026-04-29T01:02:12.746Z","repository":{"id":114328105,"uuid":"204307912","full_name":"apparatno/ficus","owner":"apparatno","description":"Mas på Slack når Google Drive oppdateres","archived":false,"fork":false,"pushed_at":"2020-08-05T20:50:29.000Z","size":2172,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-04T10:12:36.785Z","etag":null,"topics":["automation","gdrive","golang","slack"],"latest_commit_sha":null,"homepage":null,"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/apparatno.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}},"created_at":"2019-08-25T14:46:47.000Z","updated_at":"2020-08-05T20:50:31.000Z","dependencies_parsed_at":"2023-07-24T01:32:12.780Z","dependency_job_id":null,"html_url":"https://github.com/apparatno/ficus","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/apparatno/ficus","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apparatno%2Fficus","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apparatno%2Fficus/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apparatno%2Fficus/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apparatno%2Fficus/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/apparatno","download_url":"https://codeload.github.com/apparatno/ficus/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apparatno%2Fficus/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32405903,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-28T19:38:08.556Z","status":"ssl_error","status_checked_at":"2026-04-28T19:37:55.688Z","response_time":56,"last_error":"SSL_read: 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":["automation","gdrive","golang","slack"],"created_at":"2024-11-10T16:05:26.654Z","updated_at":"2026-04-29T01:02:12.724Z","avatar_url":"https://github.com/apparatno.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Ficus\n\nOvervåker utleggsmappen på Google Drive\nog sier ifra på Slack.\n\n## Kom i gang\n\nDu trenger:\n\n* en serviceaccount credentials JSON fil ved navn `credentials.json`\n* en app token fra Slack (med tilhørende app integrasjon satt opp)\n* en Google Team drive ID\n* en ID på mappen som skal sjekkes\n\nIDer kan finnes vha URLer på [Google Drive](https://drive.google.com).\n\n## Kjøre\n\nProgrammet kan kjøres som en frittstående kommando\neller med cron.\n\n### Argumenter\n\nProgrammet har disse argumentene:\n\n```bash\n$\u003e ficus -h\nUsage of ficus:\n  -db string\n    \tpath to database JSON file. Defaults to ./db.json (default \"db.json\")\n  -driveid string\n    \tID of the Google Drive to use\n  -no-slack\n    \tdon't send Slack messages\n  -root string\n    \tID of the folder to scan\n```\n\nFor å autentisere mot Slack må du i tillegg eksportere Slack token\nsom `FICUS_SLACK_TOKEN`.\nDet er mulig å skippe Slack ved å bruke `-no-slack`\n(fortrinsvis for testformål).\n\n### Databasen\n\nProgrammet vil lagre mapper den har funnet i en JSON fil på disk.\nMan kan selv velge hvor filen skal lagres (med `-db` argumentet)\neller bare lagre i current dir.\n\nJSON filen holder styr på når det sist ble sett filer i hver undermappe til rot-mappen\nslik at man kun blir informert om nye endringer.\nFinnes filen ikke vil programmet informere om alle filer den kommer over\nog lagre dette i databasen.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapparatno%2Fficus","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fapparatno%2Fficus","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapparatno%2Fficus/lists"}