GNU social JP
  • FAQ
  • Login
GNU social JPは日本のGNU socialサーバーです。
Usage/ToS/admin/test/Pleroma FE
  • Public

    • Public
    • Network
    • Groups
    • Featured
    • Popular
    • People

Embed Notice

HTML Code

Corresponding Notice

  1. Embed this notice
    Aral Balkan (aral@mastodon.ar.al)'s status on Friday, 07-Feb-2025 20:35:36 JSTAral BalkanAral Balkan
    in reply to

    @small-tech/https version 5.3.0 released

    • Uses Auto Encrypt 4.1.1 (removes OCSP stapling support because Let]s Encrypt has removed OCSP support).

    https://www.npmjs.com/package/@small-tech/https

    This module is a drop in replacement for Node HTTPS module that automatically handles TLS certificate provisioning and renewal both at localhost (via Auto Encrypt Localhost¹) and at hostname (via Auto Encrypt²).

    So, this is how you create a HTTPS server in Node.js that uses this module and automatically handles TLS certificate provisioning and renewal for you both at localhost (during development) and at hostname (during production):

    ```js
    import https from '@small-tech/https'

    const server = https.createServer((request, response) => {
    response.end('Hello, world!')
    })

    server.listen(443, () => {
    console.log(' 🎉 Server running at https://localhost.')
    })
    ```

    (Yes, that’s it! I wrote a metric shit-tonne of meticulously-tested code so you don’t have to.) :)

    💡 Note that the localhost certificate support via Auto Encrypt Localhost is 100% JavaScript and does NOT rely on an external binary like mkcert or certutil.

    Needless to say, Kitten³ uses this module under the hood and it’s a big part of why Domain⁴ can deploy servers so easily that don’t require any day-to-day maintenance.

    In case you’re wondering why I’m spending so much time releasing all these modules, it’s because I believe in sharing every brick of the house I’m building so others can easily build different houses if they want to. I’m not saying that what I’m building with Kitten, Domain, and Place⁵ will be the end all be all of the Small Web⁶ (the peer-to-peer web). And I want others to be able to experiment by building their own tools without having to go through the grueling development process I’ve had to in the past six years to build basic infrastructure.

    Enjoy!

    💕

    ¹ https://codeberg.org/small-tech/auto-encrypt-localhost
    ² https://codeberg.org/small-tech/auto-encrypt
    ³ https://kitten.small-web.org
    ⁴ https://codeberg.org/domain/app
    ⁵ https://codeberg.org/place/app
    ⁶ https://ar.al/2024/06/24/small-web-computer-science-colloquium-at-university-of-groningen/

    #SmallWeb #SmallTech #AutoEncrypt #LetsEncrypt #localhost #TLS #SSL #HTTPS #Kitten #NodeJS #JavaScript #servers #web #dev #FOSS

    In conversationabout 4 months ago from mastodon.ar.alpermalink

    Attachments

    1. Domain not in remote thumbnail source whitelist: codeberg.org
      app
      from domain
      Domain is a free and open Small Web hosting platform.


    2. Domain not in remote thumbnail source whitelist: codeberg.org
      app
      from place
      Place: a Small Web social network. (A peer-to-peer Web/personal web social network.)
    3. Domain not in remote thumbnail source whitelist: codeberg.org
      auto-encrypt
      from small-tech
      Automatically-provisioned TLS certificates for Node.js servers using Let’s Encrypt.
    4. Domain not in remote thumbnail source whitelist: codeberg.org
      auto-encrypt-localhost
      from small-tech
      Automatically provisions and installs locally-trusted TLS certificates for Node.js https servers in 100% JavaScript (without any native dependencies like mkcert and certutil).
    5. No result found on File_thumbnail lookup.
      http://maintenance.In/
    6. Domain not in remote thumbnail source whitelist: ar.al
      Small Web: computer science colloquium at University of Groningen
      Download the video and watch it with your favourite video player. Recording1 of the live stream of a computer science colloquium on the Small Web I presented at the University of Groningen on June 11th, 2024. (Transcript) Update: I was going back and forth between calling the personal social network Place and Yarn. In the talk, I refer to it as Yarn. As I’ve been working more on it, I’ve reverted to its original name, Place.
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.