

I only provide the Google Apps Script code and assume you can figure out the client side code yourself. There is also code for using Google's ReCaptcha. It will log all entries in a Google Spreadsheet, and send you an email whenever someone submits something. If you want to put a contact form on a static website, where you can't post the values to a php/node/go/dotnet backend, post the values to this Google Apps Script endpoint instead. Useful for application telemetry (collecting usage information within an application). Appends the submitted data to a new line in a Google Spreadsheet. Receives data using a HTTP Post parameter with key data. Single script AppendLog.js acting as HTTP endpoint. (This avoids forwarding a http port to my pi) As soon as it sees a 'true', it sets the value back to false and sends a Wake on Lan packet to my PC to turn it on. I have a raspberry pi which calls the retreive endpoint regularily. For example, when I want to turn on my PC when I'm away from home, I can use my phone to set the value to true. One sets a value in a Google Spreadsheet to true or false, the other simply retrieves the value. This script acts as a HTTP Post endpoint and sends an email from your gmail address, when you provide it with a recipient address, subject, and HTML body. (Optional) Take a look at this corresponding blog post to see how to use GAS and this repo. Note: The scripts for sending emails will not work on a large scale (especially if deployed through free Gmail accounts) as there are limits of how many emails you can send, which you might hit quite quickly. Please open pull requests if you have your own scripts you want to add. Here are some useful Google Apps Script scripts which you can copy and deploy through Google Drive.
