Drumul unui clicThe journey of a click
Ana apasă pe un link către bucataria-ioanei.ro. În mai puțin de o secundă se întâmplă patru lucruri. Restul cursului e despre fiecare dintre ele.Ana taps a link to bucataria-ioanei.ro. In under a second, four things happen. The rest of this course is about each of them.
Un site e un folderA site is a folder
Orice site, oricât de frumos, e până la urmă un folder cu fișiere text și imagini. Browserul le descarcă și le pune cap la cap.Every site, however pretty, is in the end a folder of text files and images. The browser downloads them and puts them together.
HTML e conținutul și structura (titluri, paragrafe, poze). CSS e aspectul (culori, fonturi, așezare). JavaScript e comportamentul (ce se întâmplă când apeși ceva). Un site care are doar aceste fișiere se cheamă static: toată lumea primește aceleași fișiere. Majoritatea site-urilor personale sunt așa, și e un lucru bun: sunt rapide, ieftine și greu de stricat.HTML is the content and structure (headings, paragraphs, photos). CSS is the look (colours, fonts, layout). JavaScript is the behaviour (what happens when you tap something). A site made only of these files is called static: everyone gets the same files. Most personal sites are like this, and that's good: they're fast, cheap and hard to break.
# ce e în folderwhat's in the folder $ ls ./desene index.html stil.css poze/ # pune-l pe netput it online $ weird put ./desene numele-tau.ro
„Fă-mi un site de o pagină cu desenele mele, ca folder cu index.html și un fișier de stil. Fără framework-uri.”
"Make me a one-page site with my drawings, as a folder with index.html and a stylesheet. No frameworks."
DomeniulThe domain
Un domeniu ca numele-tau.ro nu se cumpără pentru totdeauna. Se închiriază pe ani, de la registrul extensiei, prin cineva ca Weird.A domain like your-name.ro isn't bought forever. It's rented by the year from the extension's registry, through someone like Weird.
Pentru .ro, registrul e ROTLD. Weird e registrarul, adică ghișeul prin care îl iei. Tu ești titularul: domeniul e pe numele tău cât timp îl reînnoiești. Odată ce îl ai, poți face oricâte subdomenii vrei: blog.numele-tau.ro, poze.numele-tau.ro. Iar codul de transfer îți permite să-l muți oricând la alt registrar.For .ro, the registry is ROTLD. Weird is the registrar, the counter you get it from. You're the holder: the domain is yours as long as you renew it. Once you have it, you can make as many subdomains as you like: blog.your-name.ro, photos.your-name.ro. And the transfer code lets you move it to another registrar at any time.
$ weird domain check numele-tau.ro ✓ e liberit's available $ weird domain get numele-tau.ro # al cui e un domeniuwho holds a domain $ whois numele-tau.ro
„Găsește-mi 10 domenii .ro libere pentru un atelier de ceramică. Scurte, fără cifre, ușor de spus la telefon.”
"Find me 10 available .ro domains for a pottery studio. Short, no numbers, easy to say on the phone."
DNSDNS
Calculatoarele nu știu de nume, știu doar de adrese, niște numere. DNS e cartea de telefon a internetului: transformă numele în adresă.Computers don't know names, only addresses, which are numbers. DNS is the internet's phone book: it turns a name into an address.
Fiecare rând din cartea asta se cheamă înregistrare. Când cineva întreabă de numele tău, întrebarea urcă din aproape în aproape până la nameserverele tale, care dau răspunsul. Răspunsul e ținut minte o vreme, cât spune TTL-ul, ca să nu se întrebe de fiecare dată.Each line in this book is called a record. When someone asks about your name, the question climbs step by step to your nameservers, which give the answer. The answer is remembered for a while, as long as the TTL says, so nobody has to ask every time.
| TipType | Pe scurtIn short | ExempluExample |
|---|---|---|
| A / AAAA | adresa unde stă site-ul (IPv4 / IPv6)the address where the site lives (IPv4 / IPv6) | @ → 203.0.113.10 |
| CNAME | „numele ăsta e de fapt celălalt”"this name is really that other one" | www → numele-tau.ro |
| TXT | bilețele: dovezi, verificări, legături (IPFS, Bluesky)notes: proofs, verifications, links (IPFS, Bluesky) | _atproto → did=did:plc:… |
| MX | unde ajunge emailul pentru numele tăuwhere email for your name goes | @ → 10 mx.furnizor.ro |
| NS | cine răspunde la întrebările despre numele tăuwho answers questions about your name | ns1.weird.ro |
# întreabă ca un browserask like a browser does $ dig +short numele-tau.ro 203.0.113.10 $ weird dns numele-tau.ro $ weird dns set numele-tau.ro www CNAME numele-tau.ro
„Vreau ca domeniul meu să fie și numele meu de Bluesky. Spune-mi ce înregistrare DNS îmi trebuie și pune-o cu Weird.”
"I want my domain to be my Bluesky handle too. Tell me which DNS record I need and add it with Weird."
Unde stă site-ul (găzduirea)Where the site lives (hosting)
Folderul trebuie să stea undeva unde oricine îl poate cere, oricând. Sunt trei feluri, și pentru majoritatea oamenilor primul e destul.The folder has to sit somewhere anyone can ask for it, any time. There are three ways, and for most people the first one is enough.
Pe IPFS, fișierele primesc o amprentă unică, un CID. Dacă schimbi o virgulă, se schimbă și amprenta. Ca adresa să rămână aceeași de la o versiune la alta, domeniul tău arată spre un IPNS, o adresă stabilă pe care o muți la versiunea nouă. Versiunile vechi rămân în istoric până le dai jos.On IPFS, files get a unique fingerprint, a CID. Change a comma and the fingerprint changes too. So the address stays the same from one version to the next, your domain points to an IPNS name, a stable address you move to the new version. Old versions stay in your history until you take them down.
$ weird put ./site numele-tau.ro $ weird tunnel demo.numele-tau.ro 3000 $ weird server new --size small $ weird up # tot ce ai pe neteverything you have up
„Am o aplicație care [descrie ce face]. Unde ar trebui să stea: pe IPFS, printr-un tunel sau pe un server? Explică-mi de ce, cu costurile.”
"I have an app that [describe what it does]. Where should it live: on IPFS, through a tunnel or on a server? Explain why, with the costs."
HTTPS (lacătul)HTTPS (the padlock)
Lacătul din bara browserului înseamnă două lucruri: nimeni de pe drum nu poate citi ce trimiți, și site-ul e chiar cel care zice că e.The padlock in the browser bar means two things: nobody along the way can read what you send, and the site really is who it says it is.
Dovada e un certificat, emis de o autoritate în care browserele au încredere. Pe vremuri costa bani și se făcea de mână. Azi e inclus și automat: Weird îl cere, îl pune și îl reînnoiește singur, înainte să expire.The proof is a certificate, issued by an authority browsers trust. It used to cost money and be done by hand. Today it's included and automatic: Weird requests it, installs it and renews it before it expires.
# răspunde site-ul pe HTTPS?does the site answer over HTTPS? $ curl -sI https://numele-tau.ro | head -1 HTTP/2 200
„Verifică dacă site-ul meu are HTTPS cum trebuie și spune-mi pe românește ce scrie în certificat.”
"Check whether my site has HTTPS set up properly and tell me in plain words what the certificate says."
Emailul pe numele tăuEmail at your name
salut@numele-tau.ro arată bine pe o carte de vizită. Ca să meargă, ai nevoie de un loc care primește mesajele și de câteva înregistrări DNS care spun lumii unde e locul ăla.hello@your-name.ro looks good on a business card. To make it work, you need a place that receives the mail and a few DNS records telling the world where that place is.
MX spune unde ajunge emailul. SPF spune cine are voie să trimită în numele tău. DKIM semnează fiecare mesaj, ca să se vadă că e de la tine. DMARC le spune celorlalți ce să facă cu falsurile. Fără ultimele trei, mesajele tale ajung des în spam. Să-ți ții singur serverul de email e greu, așa că nu-l recomandăm la început. Mai simplu e să redirecționezi către adresa pe care o ai deja, sau să iei o căsuță de la un furnizor de email. Weird pune înregistrările DNS; redirecționarea direct din Weird vine în curând.MX says where mail goes. SPF says who may send in your name. DKIM signs each message to show it's really from you. DMARC tells others what to do with fakes. Without the last three, your mail often lands in spam. Running your own mail server is hard, so we don't recommend it at first. It's simpler to forward to the address you already have, or get a mailbox from an email provider. Weird sets the DNS records; forwarding straight from Weird is coming soon.
$ dig +short MX numele-tau.ro $ weird dns set numele-tau.ro @ MX "10 mx.furnizor.ro" $ weird dns set numele-tau.ro @ TXT "v=spf1 include:furnizor.ro -all"
„Vreau email pe numele-tau.ro la [furnizorul ales]. Spune-mi exact ce înregistrări MX, SPF, DKIM și DMARC trebuie, pune-le cu Weird și verifică la final.”
"I want email at your-name.ro with [chosen provider]. Tell me exactly which MX, SPF, DKIM and DMARC records I need, add them with Weird, and check at the end."
Site-uri care fac lucruriSites that do things
Un site static arată la fel pentru toată lumea. Când vrei comentarii, conturi, jocuri cu prietenii sau plăți, ai nevoie de ceva care lucrează în timp real.A static site looks the same for everyone. When you want comments, logins, games with friends or payments, you need something working in real time.
Ai trei drumuri. O cameră P2P leagă browserele direct între ele, de obicei fără server la mijloc: așa merg chat-ul, tablele de desen și jocurile de pe ardegazu.ro. Un serviciu al altcuiva face o singură treabă bine, cum ar fi plățile. Iar un server al tău rulează orice aplicație, ca serverul de cod git.ardegazu.ro. Camerele și serverele cer un domeniu luat prin Weird.You have three paths. A P2P room connects browsers directly to each other, usually with no server in the middle: that's how the chat, whiteboards and games on ardegazu.ro work. Someone else's service does one job well, like payments. And a server of your own runs any app, like the git.ardegazu.ro code server. Rooms and servers need a domain bought through Weird.
$ weird room new joaca $ weird room creds joaca $ weird app add gitlab git.numele-tau.ro
„Fă un joc pentru doi jucători care merge direct între browsere, printr-o cameră Weird, fără server. Pune-l la joc.numele-tau.ro.”
"Make a two-player game that runs directly between browsers through a Weird room, with no server. Put it at game.your-name.ro."
Cum te urmăresc oameniiHow people follow you
Pe un site nu există butonul de „Urmărește” al unei aplicații. Există două moduri mai vechi, care merg peste tot: RSS și newsletterul.A site doesn't come with an app's "Follow" button. There are two older ways that work everywhere: RSS and the newsletter.
RSS e un fișier al site-ului, de obicei feed.xml, cu ultimele lucruri pe care le-ai pus. Cine vrea să te urmărească îl adaugă într-un cititor de RSS, care verifică singur din când în când ce e nou. Fără cont la tine, fără algoritm: apare tot, în ordine. Podcasturile merg tot pe RSS.RSS is a file on your site, usually feed.xml, listing the latest things you've put up. Anyone who wants to follow you adds it to an RSS reader, which checks every so often for anything new. No account with you, no algorithm: everything shows up, in order. Podcasts run on RSS too.
Un newsletter e o listă de adrese de email cărora le scrii din când în când. Îl trimite un serviciu de newsletter, care se ocupă de livrare, de acordul abonaților și de linkul de dezabonare din fiecare mesaj, cum cer regulile din UE. Pe site pui doar formularul de abonare. Alege un serviciu din care îți poți exporta lista: așa abonații rămân ai tăi, oriunde te muți. Multe servicii trimit și automat ce apare nou în RSS.A newsletter is a list of email addresses you write to now and then. A newsletter service sends it and handles delivery, subscribers' consent and the unsubscribe link in every email, as EU rules require. On your site you only add the signup form. Pick a service that lets you export your list: that way your subscribers stay yours wherever you move. Many services can also email whatever appears in your RSS automatically.
# ce e nou pe un sitewhat's new on a site $ curl -s https://desenele-sarei.ro/feed.xml | grep "<title>"
„Adaugă la site un feed.xml (RSS) cu ultimele 20 de articole, un link «Urmărește prin RSS» și un formular de abonare la newsletter care trimite la [serviciul ales].”
"Add a feed.xml (RSS) with the latest 20 posts to my site, a 'Follow by RSS' link and a newsletter signup form that sends to [the service I picked]."
Spune ce vreiDescribe what you want
Uneltele de azi, ca Claude, Codex, Cursor sau Antigravity, fac un site din descriere. Ce iese depinde mai ales de cât de bine descrii. Se învață în cinci minute: cinci întrebări, apoi câteva mesaje scurte.Today's tools, like Claude, Codex, Cursor or Antigravity, build a site from a description. What comes out depends mostly on how well you describe it. It takes five minutes to learn: five questions, then a few short messages.
„Fă-mi un site pentru trupa mea.”
"Make me a site for my band."
Asistentul ghicește: un șablon oarecare, texte inventate, poze de stoc.The assistant guesses: some template, made-up text, stock photos.„Cânt la tobe în Zgomot Alb. Vreau un site pentru oamenii care ne-au văzut la un concert: ce concerte urmează, trei piese de ascultat, poze de la repetiții. Alb-negru, litere mari, ca afișul nostru. Jos, un buton «Cântăm și la voi».”
"I play drums in Zgomot Alb. I want a site for people who saw us at a gig: upcoming shows, three tracks to play, rehearsal photos. Black and white, big letters, like our poster. At the bottom, a 'Book us' button."
Iese aproape ce ai în cap. Restul îl reglezi din două-trei mesaje.It comes out close to what you had in mind. The rest you tune in two or three messages.Cinci întrebăriFive questions
Răspunde la ele cu cuvintele tale, cum i-ai explica unui prieten. Alege un exemplu ca să vezi cum sună, apoi scrie-l pe al tău.Answer them in your own words, the way you'd explain it to a friend. Pick an example to see how it sounds, then write your own.
Când asistentul lucrează în contul tăuWhen the assistant works in your account
MCP e felul în care un AI folosește unelte din afara lui, cum ar fi comenzile Weird. Îl conectezi cu un token, un fel de parolă care spune ce are voie să facă: să pună pe net, să schimbe DNS-ul, dar poate nu și să cumpere domenii. Pui o limită de bani pe lună, iar pentru orice e mai scump decât un prag, AI-ul te întreabă în panou înainte. În curând: un buton „Oprește tot” care merge mereu, fără întrebări.MCP is how an AI uses tools outside itself, like Weird's commands. You connect it with a token, a kind of password that says what it may do: put things up, change DNS, but perhaps not buy domains. You set a monthly spending limit, and for anything above a threshold, the AI asks you in the dashboard first. Coming soon: a "Stop everything" button that always works, no questions asked.
$ weird connect # sau, în Claude Code:or, in Claude Code: $ claude mcp add weird -- weird mcp
„Ai acces la Weird. Pune site-ul din folderul ăsta la [adresă]. Întreabă-mă înainte de orice cost peste 5 lei și spune-mi la final ce ai făcut.”
"You have access to Weird. Put the site in this folder at [address]. Ask me before any cost over 5 lei and tell me at the end what you did."
Fișa de buzunarThe cheat sheet
Toate cuvintele și toate prețurile, pe o pagină. Prețuri în lei, cu TVA.All the words and all the prices, on one page. Prices in lei, VAT included.
| TermenulThe term | Pe scurtIn short | La WeirdAt Weird | Cât costăCost |
|---|---|---|---|
| DomeniuDomain | numele tău pe internetyour name on the internet | domeniul tăuyour domain | 50 lei / anyr |
| SubdomeniuSubdomain | blog.numele-tau.roblog.your-name.ro | încă o adresă, pe domeniul tăuanother address, on your domain | inclusincluded |
| DNS | cartea de telefon: nume → adresăthe phone book: name → address | DNS găzduithosted DNS | ~1 ban / anyr |
| IPFS · CID · IPNS | fișiere cu amprentă + o adresă stabilăfingerprinted files + a stable address | găzduirehosting | ~1 leu / 250 MB / anyr |
| TraficTraffic | câte date trimiți vizitatorilorhow much data you send visitors | 50 GB / lună incluși cu un domeniu luat prin Weird50 GB / month included with a domain bought through Weird | apoi 10 bani / GBthen 10 bani / GB |
| HTTPS · certificatcertificate | canal criptat + dovada identitățiiencrypted channel + proof of identity | automatautomatic | inclusincluded |
| TunelTunnel | o adresă publică pentru ceva de pe calculatorul tăua public address for something on your computer | tunel, pe un domeniu luat prin Weirdtunnel, on a domain bought through Weird | 1 leu / anyr |
| P2P · WebRTC · TURN | browsere legate direct, cu releu de rezervăbrowsers linked directly, with a fallback relay | cameră P2P, pe un domeniu luat prin WeirdP2P room, on a domain bought through Weird | 16 lei / anyr |
| VPS · serverserver | un calculator mereu pornit, al tăuan always-on computer of your own | server, pe un domeniu luat prin Weirdserver, on a domain bought through Weird | de la 49 de lei / lunăfrom 49 lei / mo |
| MX · SPF · DKIM · DMARC | unde ajunge emailul + dovezile că e al tăuwhere email goes + proof it's yours | DNS găzduithosted DNS | inclus + furnizorulincluded + the provider |
| RSS · feed.xml | lista cu ce ai pus nou, pentru cititoarea list of what's new, for readers | un fișier în sitea file in your site | inclusincluded |
| Newsletter | emailuri către cine s-a abonatemails to people who subscribed | formularul pe site, trimiterea la un serviciuthe form on your site, sending by a service | serviciul alesthe service |
| MCP · token | uneltele AI-ului și accesul lor, cu limitethe AI's tools and their access, with limits | AI-ul tăuyour AI | inclus + AI-ulincluded + the AI |
Comenzile weird sunt cele de la lansare și se pot schimba. dig, curl și whois le ai deja pe orice Mac sau Linux.The weird commands are the launch versions and may change. dig, curl and whois are already on any Mac or Linux computer.