Recent Discussions

Temp free website Donain if just starting out(GitHub method okay, if possible)?

Open in Discord
Unanswered
Bichon Frisé posted this in #questions
128 messages
0 views
Bichon FriséOP
Essentially, if I'm just starting out, and atm broke, but wanna get a website up and going, that I can code myself and stuff, is there any way to do that for free, without having a sketchy end of a url/domain/subdomain/etc.?...
Oh totally. Github Pages is a free way to have a site with a relatively friendly url WITH free hosting (on github). It just only supports front end technologies like html, css, and browser-based javascript. No PHP, nodejs, Go, or any other backend languages. Probably enough for you.
I'm not experienced enough at all, to have any type of opinion and/or thoughts on that
@Bichon Frisé Could someone make a decent looking website with those three languages, just HTML, CSS, and limited javascript? Lol
Absolutely. Those three combine to make up 99.99% of the frontend stack of the internet. HTML is structure, CSS is styling, and JS is function. As long as you don't need to store data or retrieve data, those 3 are enough for absolutely anything you want to do.
Just curious
@Bichon Frisé Might be a dumb question, but in terms of storing and retrieving data, could you not just use a GitHub repo for that?
There might be some extremely janky way to do that, but using proper web technologies, no. Github isn't designed for that, and there are numerous reasons why achieving that would be extremely inefficient IF it was even possible.

Typically websites that need to store and retrieve data will have 3 parts:

1. Frontend - The stuff people see in a browser, which submits REST requests to a backend
2. Backend - which receives REST requests, interacts with the database, does calculations on large volumes of data, etc
3. Database - Usually some flavor of SQL server, or sometimes a "NoSQL" document store.
Github Pages can do #1 only.
Bichon FriséOP
Gotcha
That said, there's nothing stopping you from storing data in github and pulling it via web request, as long as you're comfortable with manually changing the data by hand. The website can certainly still read, for example, json documents in the github repo, parse them, and transform that data.
Bichon FriséOP
So, if I'm wanting things like vid embeds in the future, and have url hotspot kinda images/image redirect links/image links as well, then I should be good?
Also, out of curiosity, can js be used to have a function where if something is clicked, a sound plays?
Southern yellowjacket
Be aware that GitHub pages only supports static sites
Some integrations you may want to use could not work on GitHub pages due to its limitations
@Bichon Frisé Gotcha, but in most cases data = files?
Not really. Hard to explain. Do some googling about SQL. Should be a fun learning exercise.
Bichon FriséOP
Lol, kk
Loading...