{"id":25819195,"url":"https://github.com/santilapi13/git_puller_daemon","last_synced_at":"2026-05-09T20:41:26.610Z","repository":{"id":234772496,"uuid":"785357945","full_name":"santilapi13/git_puller_daemon","owner":"santilapi13","description":null,"archived":false,"fork":false,"pushed_at":"2024-05-11T16:05:00.000Z","size":167,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-05-11T17:23:23.800Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/santilapi13.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":"2024-04-11T18:18:57.000Z","updated_at":"2024-05-11T17:23:27.450Z","dependencies_parsed_at":"2024-05-11T17:23:26.925Z","dependency_job_id":"3a07fa38-e605-4427-bddd-ace724c3a1cd","html_url":"https://github.com/santilapi13/git_puller_daemon","commit_stats":null,"previous_names":["santilapi13/daemon_software_libre","santilapi13/git_puller_daemon"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/santilapi13%2Fgit_puller_daemon","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/santilapi13%2Fgit_puller_daemon/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/santilapi13%2Fgit_puller_daemon/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/santilapi13%2Fgit_puller_daemon/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/santilapi13","download_url":"https://codeload.github.com/santilapi13/git_puller_daemon/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241125488,"owners_count":19913854,"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":[],"created_at":"2025-02-28T08:44:47.896Z","updated_at":"2026-05-09T20:41:26.574Z","avatar_url":"https://github.com/santilapi13.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Git puller and notifier daemon\n### EN:\nThis daemon recieves a directory where a local git repository has been set and tries to git pull every 10 seconds. If that pull brings commits from its remote repository, an email is sent to the specified address. \n### EN:\nEste daemon recibe un directorio en donde el repositorio git local ya ha sido configurado e intenta hacer git pull cada 10 segundos. Si ese pull trae algún commit desde el repositorio remoto, se envía un email a la dirección de correo especificada.\n\n# Requirements\n- Linux distribution\n- node\n- npm\n\n# Installation\n`npm install`\n## Dependencies\n- nodemailer\n- dotenv\n\n# Configuration\n### EN:\nFirst, you have to create a .env file with the properties listed in the .env.sample file. To do that, the specified email needs a application password to be used by nodemailer.\n### ES:\nCrear un archivo .env con las propiedades que dice el .env.sample. Para eso, el email tiene que tener una contraseña de aplicación para poder ser utilizado por nodemailer para enviar las notificaciones.\n\n# Usage\n`node index.js start|stop \u003crepo_directory\u003e \u003cemail_to_notify\u003e`\n### EN:\nStart creates a dictionary at /tmp/pid_daemon.json that links the directory path to the email by the PID of the supervisor daemon.\nStop kills the daemon process and deletes its entry from the json.\n### ES:\nCon start crea en /tmp/pid_daemon.json un diccionario que vincula el path del repositorio y el email con el PID del daemon que lo supervisa.\nCon stop mata el proceso y eliminar la entrada del json.\n\n# Daemonizer used\nhttps://github.com/indexzero/daemon.node\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsantilapi13%2Fgit_puller_daemon","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsantilapi13%2Fgit_puller_daemon","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsantilapi13%2Fgit_puller_daemon/lists"}