{"id":13576584,"url":"https://github.com/GramThanos/WakeOnLAN","last_synced_at":"2025-04-05T08:32:18.547Z","repository":{"id":35780612,"uuid":"108143892","full_name":"GramThanos/WakeOnLAN","owner":"GramThanos","description":"A simple C program that sends a magic packet","archived":false,"fork":false,"pushed_at":"2024-12-23T17:06:53.000Z","size":46,"stargazers_count":109,"open_issues_count":2,"forks_count":37,"subscribers_count":6,"default_branch":"master","last_synced_at":"2024-12-23T18:20:22.968Z","etag":null,"topics":["lan","network","packets","wakeonlan"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"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/GramThanos.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}},"created_at":"2017-10-24T15:07:40.000Z","updated_at":"2024-12-23T17:06:57.000Z","dependencies_parsed_at":"2024-12-23T18:30:15.887Z","dependency_job_id":null,"html_url":"https://github.com/GramThanos/WakeOnLAN","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GramThanos%2FWakeOnLAN","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GramThanos%2FWakeOnLAN/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GramThanos%2FWakeOnLAN/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GramThanos%2FWakeOnLAN/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/GramThanos","download_url":"https://codeload.github.com/GramThanos/WakeOnLAN/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247311777,"owners_count":20918337,"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":["lan","network","packets","wakeonlan"],"created_at":"2024-08-01T15:01:11.726Z","updated_at":"2025-04-05T08:32:18.532Z","avatar_url":"https://github.com/GramThanos.png","language":"C","funding_links":[],"categories":["C"],"sub_categories":[],"readme":"[![latest release](https://img.shields.io/badge/latest%20release-v0.3-green.svg?style=flat-square)](https://github.com/GramThanos/WakeOnLAN/releases/latest)\n[![latest dev](https://img.shields.io/badge/latest%20dev-v1.0-orange.svg?style=flat-square)](https://github.com/GramThanos/WakeOnLAN/releases/latest)\n![Windows build](https://img.shields.io/badge/window%20build-pass-blue.svg?style=flat-square)\n![Linux build](https://img.shields.io/badge/linux%20build-pass-blue.svg?style=flat-square)\n![Mac build](https://img.shields.io/badge/mac%20build-pass-blue.svg?style=flat-square)\n\n# WakeOnLAN\nA simple C program that sends a magic packet\n\nYou can use this program to wake up a PC over the network. It sends the so-called magic packet to the network card of the target PC, instructing it to open the PC. [[Download]](https://github.com/GramThanos/WakeOnLAN/releases)\n\n___\n\n### Usage\n```bash\n./WakeOnLAN \u003cmac address\u003e[ \u003cbroadcast address\u003e][ \u003cinterface\u003e]\n```\nThe first parameter is the mac address of the target (usually your network card's mac address).\nThe second parameter is optional and defines the broadcast address to send the packet.\nThe third parameter is optional and defines the source interface to send the packet from (not for Windows).\n\nExample\n```bash\n./WakeOnLAN 00:11:22:33:44:55 192.168.1.255 eth0\n```\nor, from a file with MAC addresses inside:\n```bash\n./WakeOnLAN -f macs-list.txt\n```\nwhere `macs-list.txt` has one MAC address per line:\n```\n00:1A:2B:3C:4D:5E\n00:11:22:33:44:55\n12:34:56:78:90:AB\n.\n.\n.\n```\n___\n\n### Pre-compiled Binaries (Latest Release)\n\nPlatform | Links v0.3\n------------ | -------------\nWindows | [x86](https://github.com/GramThanos/WakeOnLAN/releases/download/v0.3/WakeOnLAN_v0.3_windows_x86.zip)\nLinux | [x64](https://github.com/GramThanos/WakeOnLAN/releases/download/v0.3/WakeOnLAN_v0.3_linux_x64.zip)\nRaspberry Pi | [arm](https://github.com/GramThanos/WakeOnLAN/releases/download/v0.3/WakeOnLAN_v0.3_raspberrypi.zip)\n\n___\n\n### Compile from source\nFor Linux, you can compile the source using GCC\n```bash\ngcc WakeOnLAN.c -o WakeOnLAN\n```\n\nFor Windows, you can compile the source using MinGW\n```bash\ngcc WakeOnLAN.c -o WakeOnLAN.exe -lwsock32\n```\n\nOr Open up a Visual Studio Native Tools Command Prompt, navigate to your source directory\n```bash\ncl WakeOnLAN.c -o WakeOnLAN.exe\n```\n\n### Makefile\nGNU make can be used in order to compile the sources on Linux/Mac:\n```bash\nmake\n```\n\nTo clean everything:\n```bash\nmake clean\n```\n\n### CMake\nCMake can also be used on Linux/Mac:\n```bash\nmkdir build\ncd build\ncmake ..\ncmake --build .\n```\n___\n\n### Feedback\n\nFor any problems, you may [open an issue](https://github.com/GramThanos/WakeOnLAN/issues)\n\nAlso, you can [send me an email](mailto:gramthanos@gmail.com)\n\n___\n\n### License\n\nThis project is under [The MIT license](https://opensource.org/licenses/MIT).\nI do appreciate attribution.\n\nCopyright (c) 2024 Grammatopoulos Athanasios-Vasileios\n\n___\n\n[![GramThanos](https://avatars2.githubusercontent.com/u/14858959?s=42\u0026v=4)](https://github.com/GramThanos)\n[![DinoDevs](https://avatars1.githubusercontent.com/u/17518066?s=42\u0026v=4)](https://github.com/DinoDevs)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FGramThanos%2FWakeOnLAN","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FGramThanos%2FWakeOnLAN","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FGramThanos%2FWakeOnLAN/lists"}