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 Thursday, 21-Mar-2024 22:12:37 JSTAral BalkanAral Balkan
    in reply to

    PS. Those 42 lines are all the source code.

    That’s it.

    No scaffolding. No npx create this-or-that.

    1. Create a folder called toast.

    2. Add those 42 lines of code to a file called index.page.js in that folder.

    3. Run kitten¹.

    Now hit https://localhost in your browser and you will see the example running just like in the video in the first post.

    :kitten: 💕

    ¹ https://codeberg.org/kitten/app

    # Kitten #SmallWeb #StreamingHTML #web #dev #htmx #hypermedia #WebSocket #html #css #JavaScript #toast

    In conversationThursday, 21-Mar-2024 22:12:37 JST from mastodon.ar.alpermalink

    Attachments

    1. Domain not in remote thumbnail source whitelist: it.no
      https://it.no/
    2. Domain not in remote thumbnail source whitelist: codeberg.org
      app
      from kitten
      A web development kit that’s small, purrs, and loves you.

  • 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.