From nobody Thu Feb 18 19:09:32 2021 Authentication-Results: mail-b.sr.ht; dkim=pass header.d=cmpwn.com header.i=@cmpwn.com Received: from out2.migadu.com (out2.migadu.com [188.165.223.204]) by mail-b.sr.ht (Postfix) with ESMTPS id 553F211F017 for <~sircmpwn/sr.ht-announce@lists.sr.ht>; Thu, 18 Feb 2021 19:09:32 +0000 (UTC) MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cmpwn.com; s=key1; t=1613675370; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=VmDcqD0HFzF1ABSHeFs/FTntZ6JA26dlv/Ix8D2ASMA=; b=SvaQlb9nvaYA3Bk+gvvvgxw3W19sQ9Ayobj4k1PTxsZhuB2FEcGcVA/OOVN/n/WB5UBncV IjhSArckAQBl6RKEsLvLJ4hwMrnKSZFHEbN13Jcld9cn337DImf9spnbj71a39L84J5ody Uv3ohbsJi8mbF47GUfhZXlx1jrXs1YDcQF7PumVR9XPTYd42yRrJ+ddJ2Mnazki7JBGuwh XJCFUWXAjHc7OczcnKF3m6EXNRUozf+VnYUWmHQyig5MKGPpDzGf428IeIfJyiKeazmQD1 qtGvSBgCZ8FWtIhsO7JzvPsZFQuexMO+FLMOAM/9DY3Jjg+BXQ2tqJ68B8e3eg== Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Date: Thu, 18 Feb 2021 14:09:28 -0500 Message-Id: Subject: SourceHut Pages is now available X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: "Drew DeVault" To: <~sircmpwn/sr.ht-announce@lists.sr.ht> X-Migadu-Flow: FLOW_OUT X-Migadu-Auth-User: sir@cmpwn.com I=E2=80=99m happy to announce that a long-awaited feature is available toda= y: sourcehut pages. SourceHut users can use this service to host static websites for any of their own domains, and every user is also being given =E2=80=9Cusername.srht.site=E2=80=9D. You can use any static site generator: Jekyll, Hugo, Doxygen, or your own cool new thing. You can publish from git.sr.ht or hg.sr.ht, or you can set up any publishing workflow you prefer =E2=80=94 you just need to up= load a tarball. Every domain has TLS automatically configured for you. You get your personal subdomain on srht.site, unlimited bring-your-own-domains, and up to 1G of storage per site. Check out https://srht.site for the full details, but here are some shell commands you can run right now to be live in 3 minutes. First, generate a personal access key and add it to your environment, something like this: bearer_token=3D9SKUndgx8Fx55xYGNAxs1Lal8YQAh29/90m+HjsMVsA=3D Then write a simple =E2=80=9Cindex.html=E2=80=9D file: My sourcehut page

My sourcehut page

Welcome to my cool sourcehut page! Put it in a tarball: tar -cvz index.html > site.tar.gz And publish it, being sure to replace =E2=80=9Cusername=E2=80=9D with your = sr.ht username: curl --oauth2-bearer "$bearer_token" \ -Fcontent=3D@site.tar.gz \ https://pages.sr.ht/publish/username.srht.site Hey presto, your new website is live! Check out the rest of the documentation on https://srht.site for tips on automating this process, setting up a static site generator like Hugo, and how to use your own domain name.