https://github.com/sampoder/bank-custom-domains
🏦 Because Hack Club Bank needs custom domains.
https://github.com/sampoder/bank-custom-domains
Last synced: 12 months ago
JSON representation
🏦 Because Hack Club Bank needs custom domains.
- Host: GitHub
- URL: https://github.com/sampoder/bank-custom-domains
- Owner: sampoder
- Created: 2020-12-24T06:43:46.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2021-03-28T16:46:26.000Z (almost 5 years ago)
- Last Synced: 2025-01-07T18:36:45.595Z (about 1 year ago)
- Language: JavaScript
- Homepage: https://donate.sampoder.com?heresanexample
- Size: 96.7 KB
- Stars: 12
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 🏦 Hack Club Bank Custom Domains
[](https://vercel.com/new/git/external?repository-url=https%3A%2F%2Fgithub.com%2Fsampoder%2Fbank-custom-domains&env=username&envDescription=View%20the%20documentation%20for%20details.&envLink=https%3A%2F%2Fgithub.com%2Fsampoder%2Fbank-custom-domains%23-hack-club-bank-custom-domains&project-name=my-awesome-hack-club-bank-project&repo-name=my-awesome-hack-club-bank-project)
What if my Hack Club Bank donatation page had a custom domain?
This world would be a cooler place!
So here's how you make it possible:
1. Click the big blue deploy to Vercel button
2. Choose a project name and click continue
3. Choose a name for what you'd like your project's git repo to be
4. You'll now have to fill out the required enviromental variable: `username`. This is your bank username, you can find it by inspecting the URLs. For example `bank.hackclub.com/hq`'s username would be `hq`.
5. If you'd like extra customisation you can add the following optional enviromental variables:
- meta_image: this is an image URL that'll be your social media preview image
- description: this is a string that'll be your social media preview description
- title: this is a string that'll be the title of your website
- site_name: this is a string that'll be the name of the website, shown in some social media previews
- custom_css: a link to a css file that'll be added, hack around with the bank site to get classes ;)
6. Click Deploy!!
7. Follow [Vercel's docs](https://vercel.com/docs/custom-domains) to set a custom domain.
8. Profit!!
Hope this helps some folks - Sam