github pages is a free service for deploying any kind of static site like Carbon. in this page i will descuse how to deploy your own url shortner with github pages for free.
- Fork the repo to one of your organ or your account.
- open up the the setting and change the name to what do you prefer.
in this case i will name it
goto.
- on the setting go to
pagessection and enable pages for this repo, by click on save button.
note that you should use branch
maseterand directoydocs
-
go to action section, and wait for depoyment.
whene its done! open that work flow and click on the link.
once you open the link, you should see the index page of carbon!
done!
-
now you can siply add your links and just push the chnages.
-
cd gotoin this case the name is goto.
replace the
BASE_URLin theconfig.pywith your github pages url -
run carbon
python3 carbon.pycarbon will prompt a Cli and ask you for url, title and etc. pass all the stuff and then commit themgit add . && git commit -m 'new urls added'. and in the last step, push themgit pushyou can now open the link which you just created.









