{"id":13850017,"url":"https://github.com/cowholio4/lambda-contact-form","last_synced_at":"2025-07-12T21:32:46.766Z","repository":{"id":139690877,"uuid":"58233888","full_name":"cowholio4/lambda-contact-form","owner":"cowholio4","description":"Simple aws lambda function to support a website contact form","archived":false,"fork":false,"pushed_at":"2017-06-06T17:28:21.000Z","size":10,"stargazers_count":63,"open_issues_count":0,"forks_count":4,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-08-05T20:29:58.837Z","etag":null,"topics":["amazon-ses","aws-lambda","serverless"],"latest_commit_sha":null,"homepage":"","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/cowholio4.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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}},"created_at":"2016-05-06T20:44:39.000Z","updated_at":"2024-04-29T21:36:42.000Z","dependencies_parsed_at":"2024-01-18T10:12:45.695Z","dependency_job_id":"29f0e309-7b91-4aa0-a03f-19335f6b7794","html_url":"https://github.com/cowholio4/lambda-contact-form","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cowholio4%2Flambda-contact-form","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cowholio4%2Flambda-contact-form/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cowholio4%2Flambda-contact-form/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cowholio4%2Flambda-contact-form/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cowholio4","download_url":"https://codeload.github.com/cowholio4/lambda-contact-form/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225839485,"owners_count":17532305,"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":["amazon-ses","aws-lambda","serverless"],"created_at":"2024-08-04T20:00:56.514Z","updated_at":"2024-11-22T03:30:38.995Z","avatar_url":"https://github.com/cowholio4.png","language":"JavaScript","funding_links":[],"categories":["AWS Lambda Functions"],"sub_categories":[],"readme":"# Lambda-Contact\n\nA simple aws-lambda function that allows you to have a contact form on your static website. (hosted on S3/Cloudfront) \nCurrently, emails are sent via SES.\n\nI made this aws-lambda function in August 2015 for a startup I joined and in 2017 I modified it to use serverless.\n\n# Instructions\n\n1. Install [serverless](https://serverless.com/)\n2. Run `npm install`\n3. Change the config.json file to match your 'from' to 'to'.\n4. Run `serverless deploy`\n5. Copy the URL from the output of the previous command and use it in your contact form.\n\n## Exmaple Form\n```\n\u003cform method=\"post\" action=\"https://API_GATEWAY/contact\"\u003e\n    \u003cinput name=\"name\" required=\"true\" placeholder=\"Name\" type=\"text\" id=\"name\"\u003e\n    \u003cinput name=\"affiliation\" placeholder=\"Affiliation\" type=\"text\"\u003e\n    \u003cinput name=\"email\" placeholder=\"E-mail Address\" type=\"email\" required=\"true\"\u003e\n    \u003ctextarea name=\"message\" required=\"true\" placeholder=\"Your message\" maxlength=\"999\"\u003e\u003c/textarea\u003e\n    \u003cbutton type=\"submit\"\u003eSend\u003c/button\u003e\n\u003c/form\u003e\n```\n\n# TODO\n1. Add more robust spam protection\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcowholio4%2Flambda-contact-form","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcowholio4%2Flambda-contact-form","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcowholio4%2Flambda-contact-form/lists"}