For bugs or feature requests, open an issue on GitHub.
Is this really free to use?
Is this really free to use?
Yes. The project is licensed under GPL-3.0, which means you can use, modify, and distribute it freely as long as you comply with the license terms.Hosting on GitHub Pages is also free. GitHub Pages serves static files at no cost for public repositories, and the site has no backend server or database to run.
Do I need a server or database?
Do I need a server or database?
No. The website is fully static. There are two external services involved:
- GitHub Pages — serves the HTML, CSS, and JavaScript files.
- Google Sheets + Google Apps Script — receives RSVP form submissions. When a guest submits the form,
scripts.jsPOSTs the data to a Google Apps Script web app URL, which writes the row to a Google Sheet and can send you an email alert.
How do I change the invite code?
How do I change the invite code?
The RSVP form validates the invite code by comparing its MD5 hash against stored hash values in To set a new invite code:
js/scripts.js:- Choose your code (e.g.
271117). - Generate its MD5 hash. You can use any online MD5 generator or run this in your browser console:
- Replace the hash string(s) in the
ifcondition injs/scripts.js. - Run
gulpto rebuildjs/scripts.min.js.
Why is the RSVP form not submitting?
Why is the RSVP form not submitting?
Check the following:1. Google Apps Script URLThe The URL in the repository points to the original author’s script. Deploy your own Google Apps Script and update this URL.2. Invite codeThe form validates the invite code before POSTing. If the code is wrong, the request never reaches Google. Make sure your guests have the correct code and that the MD5 hashes in
$.post() call in js/scripts.js must point to your deployed Google Apps Script web app URL:scripts.js match.3. CORSGoogle Apps Script web app deployments set Access-Control-Allow-Origin: * when configured correctly. If you see CORS errors in the browser console, re-check your Google Apps Script deployment settings and make sure it is deployed as “Execute as: Me” with “Who has access: Anyone”.Can I add multiple invite codes?
Can I add multiple invite codes?
Yes. The invite code check uses Generate an MD5 hash for each code you want to support and add a corresponding
&& (logical AND), so both conditions must be true for the code to be rejected — meaning the form accepts any code whose MD5 matches either hash.To add more codes, extend the condition with additional && clauses:&& line.How do I add more events?
How do I add more events?
The Events section (Use waypoint classes
#events) uses a two-column Bootstrap grid. Each event is a <div> inside the left column (leftcol) or right column (rightcol) with a waypoint class for the entrance animation.To add an event, copy an existing event block and place it in the appropriate column:.wp1 through .wp9 on your new blocks to apply entrance animations.How do I change the venue on the Uber button?
How do I change the venue on the Uber button?
How do I change the YouTube video?
How do I change the YouTube video?
The background video is rendered by Replace the
jquery.mb.YTPlayer. Find the player <div> in index.html and update the videoURL in the data-property attribute:videoURL value with your YouTube video URL. You can also adjust startAt and stopAt (in seconds) to control which portion of the video plays.What browsers are supported?
What browsers are supported?
The site supports all modern browsers. For older browsers:
- IE8: Supported via
modernizr-2.8.3-respond-1.4.2.min.js(bundled injs/vendor/). Respond.js adds CSS media query support to IE8. The HTML conditional comments at the top ofindex.htmladd IE-specific classes to the<html>element for targeted CSS fixes. - IE < 8: A browser upgrade prompt is shown via the
.browserupgradeparagraph. - IE8+: Bootstrap 3, jQuery 1.11.2, and the vendor scripts provide broad compatibility.
How do I contribute?
How do I contribute?
Contributions are welcome. To contribute:
- Fork rampatra/wedding-website on GitHub.
- Create a feature branch and make your changes.
- Run
gulpto ensure the compiled output is up to date. - Open a pull request describing your changes.
