{"id":31784799,"url":"https://github.com/armanceau/cli-notification","last_synced_at":"2025-10-10T11:21:34.396Z","repository":{"id":316255738,"uuid":"1062571564","full_name":"armanceau/cli-notification","owner":"armanceau","description":"CLI de simulation d'envoi de différentes notifications","archived":false,"fork":false,"pushed_at":"2025-09-23T14:08:18.000Z","size":3,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-09-23T16:11:41.886Z","etag":null,"topics":["efrei-tag","en-cours","m2"],"latest_commit_sha":null,"homepage":"","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/armanceau.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-09-23T12:40:01.000Z","updated_at":"2025-09-23T14:08:21.000Z","dependencies_parsed_at":"2025-09-23T16:11:52.235Z","dependency_job_id":"52d27f6f-ef84-4c5e-b10e-89b3d9ff0cac","html_url":"https://github.com/armanceau/cli-notification","commit_stats":null,"previous_names":["armanceau/cli-notification"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/armanceau/cli-notification","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/armanceau%2Fcli-notification","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/armanceau%2Fcli-notification/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/armanceau%2Fcli-notification/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/armanceau%2Fcli-notification/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/armanceau","download_url":"https://codeload.github.com/armanceau/cli-notification/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/armanceau%2Fcli-notification/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279003726,"owners_count":26083610,"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","status":"online","status_checked_at":"2025-10-10T02:00:06.843Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["efrei-tag","en-cours","m2"],"created_at":"2025-10-10T11:21:29.895Z","updated_at":"2025-10-10T11:21:34.385Z","avatar_url":"https://github.com/armanceau.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# cli-notification\n\n_Une petite application en ligne de commande développée en Go pour simuler l’envoi de notifications via plusieurs canaux (Email, SMS, Push).  \nChaque notification envoyée avec succès est archivées avec un timestamp et peut être consultée à la fin de l’exécution._\n\n## Fonctionnalités\n\n- Gérer plusieurs types de notifications :\n  - 📧 Email\n  - 📱 SMS (avec validation des numéros `06` ou `07`)\n  - 🔔 Push\n- Gérer les erreurs d’envoi (ex : numéro invalide) sans stopper le programme\n- Archiver chaque notification envoyée avec succès (type, message, date/heure)\n- Afficher l’historique des notifications archivées\n- Messages colorés dans le terminal (succès ✅ / erreur ❌ / historique 📜)\n\n## Installation\n\n1. Cloner le repository :\n\n```bash\ngit clone https://github.com/armanceau/cli-notification.git\ncd cli-notification\n```\n\n2. Lancer le projet :\n\n```bash\ngo run main.go\n```\n\n## Utilisation\n\nLancer simplement le programme avec :\n\n```bash\ngo run main.go\n```\n\nExemple de sortie de la console :\n\n```bash\nEmail envoyé à l'adresse suivante : arthur.manceau@efrei.net : Je suis en cours de Go.\n✅ Notification envoyée avec succès\nSms envoyé au numéro suivant : 0601020304 : Je suis en cours de Go.\n✅ Notification envoyée avec succès\n❌ Erreur lors de l'envoi\n\n--- Historique des notifications ---\n[2025-09-23T14:05:10+02:00] Email : Je suis en cours de Go.\n[2025-09-23T14:05:10+02:00] Sms : Je suis en cours de Go.\n[2025-09-23T14:05:10+02:00] Push : Je suis en cours de Go.\n```\n\n## Tests\n\n_Des tests unitaires sont inclus pour vérifier l'envoie des notifications._\n\n```bash\ngo test -v\n```\n\n## Auteur\n\nArthur Manceau 🙉\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farmanceau%2Fcli-notification","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Farmanceau%2Fcli-notification","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farmanceau%2Fcli-notification/lists"}