Skip to content

Hosting personalized invitations to different events

License

Notifications You must be signed in to change notification settings

vikingair/invitations

Repository files navigation

Invitations

The hosted app allows you to send out links to others that will render an animated invitation.

The app doesn't require or collect any personal information from you. It will just read the data from the URL and use it to display your personal information for everyone who opens that link.

Here is out it works:

Run e.g. this in your JS console:

const options = {
    content: "Here is my text.\nCheck it out",
    img: "https://live.staticflickr.com/4150/5045502202_1d867c8a41_b.jpg"
};
window.open("https://vikingair.github.io/invitations/?q=" + btoa(JSON.stringify(options)));

This will open the link with the given content and image directly for you.

Options

All options are optional and here is a complete list:

 Option Type  Default
content string Here could be your text
song URL -
img URL -
imgPosition object-fit CSS attribute -
envelopeColor CSS color #ea899a
confettiColor CSS color - (colorful)

About

Hosting personalized invitations to different events

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published