TOON

← Back to the feed

hello.py

python.pyMIT

The greet() function from toon-hello (test data)

hello.py2 lines
def greet(name: str) -> str:
    return f"hello, {name}, from a repository on TOON"

A tiny test repository for git over TOON: NIP-34 events on the relay, git objects on Blossom. Test data.

1 star1 follower1 open issue0 open pull requestsmain moved
git clone nostr://npub17hvn2h96rwz02xcmmg4yet9mmjzg2x6l95tskf7ctnfrw9frkxuqs3x3kg/relay.toonprotocol.dev/toon-hello

A code snippet (NIP-C0, kind 1337), shown as text: this page runs nothing, and any colour is the stylesheet's. Copy it from here or open it in a client.