All Projects → szabodanika → wake-pc

szabodanika / wake-pc

Licence: other
Wake PC is a tiny self-hosted Wake-On-Lan (WOL) app written in PHP for linux machines that you can use to wake up machines on your local network.

Programming Languages

PHP
23972 projects - #3 most used programming language
shell
77523 projects

Projects that are alternatives of or similar to wake-pc

Server
A simple server for sending and receiving messages in real-time per WebSocket. (Includes a sleek web-ui)
Stars: ✭ 6,858 (+15486.36%)
Mutual labels:  selfhosted, self-hosted
Docker Swarm Cookbook
A large collection of recipes for a complete, self-hosted Docker Swarm stack including Traefik v2 and SSO/Auth
Stars: ✭ 49 (+11.36%)
Mutual labels:  selfhosted, self-hosted
Yunohost
YunoHost is an operating system aiming to simplify as much as possible the administration of a server. This repository corresponds to the core code, written mostly in Python and Bash.
Stars: ✭ 832 (+1790.91%)
Mutual labels:  selfhosted, self-hosted
Hastic Server
Hastic data management server for analyzing patterns and anomalies from Grafana
Stars: ✭ 292 (+563.64%)
Mutual labels:  selfhosted, self-hosted
Ownhealthrecord
This repository is about the OwnHealthRecord Application Web App
Stars: ✭ 162 (+268.18%)
Mutual labels:  selfhosted, self-hosted
Docker Ddns
Easy-to-deploy dynamic DNS with Docker, Go and Bind9
Stars: ✭ 392 (+790.91%)
Mutual labels:  selfhosted, self-hosted
Cve Api
Unofficial api for cve.mitre.org
Stars: ✭ 36 (-18.18%)
Mutual labels:  selfhosted, self-hosted
alternative-frontends
🔐🌐 Privacy-respecting web frontends for popular services
Stars: ✭ 821 (+1765.91%)
Mutual labels:  selfhosted, self-hosted
Personal Management System
Your web application for managing personal data. <[email protected]>
Stars: ✭ 2,027 (+4506.82%)
Mutual labels:  selfhosted, self-hosted
Reminiscence
Self-Hosted Bookmark And Archive Manager
Stars: ✭ 1,303 (+2861.36%)
Mutual labels:  selfhosted, self-hosted
Appwrite
Appwrite is a secure end-to-end backend server for Web, Mobile, and Flutter developers that is packaged as a set of Docker containers for easy deployment 🚀
Stars: ✭ 14,592 (+33063.64%)
Mutual labels:  selfhosted, self-hosted
Awesome Selfhosted
A list of Free Software network services and web applications which can be hosted on your own servers
Stars: ✭ 70,996 (+161254.55%)
Mutual labels:  selfhosted, self-hosted
swetrix-js
The JavaScript analytics client for Swetrix Analytics
Stars: ✭ 28 (-36.36%)
Mutual labels:  selfhosted, self-hosted
Blocky
Fast and lightweight DNS proxy as ad-blocker for local network with many features
Stars: ✭ 523 (+1088.64%)
Mutual labels:  selfhosted, self-hosted
devliver
Your private self hosted composer repository with user management
Stars: ✭ 50 (+13.64%)
Mutual labels:  selfhosted, self-hosted
Passwordcockpit
Passwordcockpit is a simple, free, open source, self hosted, web based password manager for teams. It is made in PHP, Javascript, MySQL and it run on a docker service. It allows users with any kind of device to safely store, share and retrieve passwords, certificates, files and much more.
Stars: ✭ 34 (-22.73%)
Mutual labels:  selfhosted, self-hosted
gatus
⛑ Automated service health dashboard
Stars: ✭ 3,018 (+6759.09%)
Mutual labels:  selfhosted, self-hosted
zusam
Private groups to share messages, photos, videos, links with friends and family.
Stars: ✭ 79 (+79.55%)
Mutual labels:  selfhosted, self-hosted
Gokapi
Lightweight selfhosted Firefox Send alternative without public upload
Stars: ✭ 84 (+90.91%)
Mutual labels:  selfhosted, self-hosted
Server
self-hosted tag-based time tracking
Stars: ✭ 238 (+440.91%)
Mutual labels:  selfhosted, self-hosted

Wake PC

Wake PC is a super tiny password protected webapp for linux machines that sends WOL packets, written in PHP.

screenshot

How to set up

Quick setup

You can run this command to run to quickly set up and serve Wake PC on port 9010 using PHP's embedded webserver. This will load a default configuration, so you need to edit config.ini later. For Wake PC to work make sure to follow the instructions for configuring your target machine as well, otherwise it might not work!

sudo sh -c 'curl -s https://raw.githubusercontent.com/szabodanika/wake-pc/master/quicksetup.sh | bash'

Or you can do it manually:

  1. Create a folder in /var/www/ and navigate to it
mkdir /var/www/wake-pc
cd /var/www/wake-pc
  1. Download index.php and config template
wget https://raw.githubusercontent.com/szabodanika/wake-pc/master/index.php
wget https://raw.githubusercontent.com/szabodanika/wake-pc/master/config-template.ini
  1. Copy template
cp config-template.ini config.ini
  1. Edit template using any text editor
sudo vim config.ini
  1. Start embedded PHP webserver or host with your webserver of choice (NGINX, Apache etc.)
php -S 0.0.0.0:9010

Client configuration

For WOL to work it needs ot be enabled on the target PC, by default this is usually not the case. You will likely find this setting in your BIOS.

You also need to make sure that the machine will only be woken up by WOL packets and nothing else, otherwise the initial ping that checks whether the machine is online will also turn it on.

Go in Control Panel\All Control Panel Items\Network Connections, select your connection -> right click -> Properties -> Power Management, tick "Allow this device to wake the computer" and make sure to also tick "Only allow a magic packet to wake the computer".

Planned improvements

  • Remove plaintext password haha
  • GUI config
  • Scheduling
  • Shutdown and reboot maybe?
  • Toggling pinging on and off
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].