Skip to content

Piero Bosio Social Web Site Personale Logo Fediverso

Social Forum federato con il resto del mondo. Non contano le istanze, contano le persone

Title generation and quote posts

Technical Discussion
3 2 33

Gli ultimi otto messaggi ricevuti dalla Federazione
  • @sk@utsukta.org mentioned in another thread that the way Hubzilla and threadiverse software handle group discussions is incompatible.

    It got me thinking about whether that is true. At its core both FEPs (171b and 1b12, respectively) rely on a central "distributor" node to send activities to recipients.

    @silverpill@mitra.social did further comparisons in thr text of 171b itself:

    > Announce activity is used instead of Add. Conversation and related activities are synchronized between participants, but conversation backfilling mechanism is not specified.

    The questions here are:

    If threadiverse software federated out an Add in addition to Announce, would that satisfy basic synchronization (not backfill) requirements laid out by 171b? Is there any reason why Announce could not be used to facilitate private federated group discussions as well? Assuming visibility maintains scoped to addresses, I don't see any immediate reason why not...
    read more

  • I'm playing around with Offer activities in Fedify. The AP Vocab provides this, easy peasy.

    ✅ Alice OFFERS Book to Bob
    ✅ Bob ACCEPTS Alice's OFFER

    Or:

    ✅ Bob OFFERS Rotten Tomato to Alice
    ❌ Alice REJECTS Bob's OFFER

    ----------------

    But I'm not clear if this is right:

    ❓Alice ANNOUNCES OFFER of Labubu to Followers?

    ❓Bob OFFERS $10 for Labubu to Alice?

    ❓ Alice ACCEPTS Bob's OFFER of $10 for Labubu?

    ✅ Alice OFFERS Labubu to Bob

    ✅ Bob ACCEPTS Labubu

    read more

  • Your Home Feed is the inbox of an ActivityPub actor — in particular YOUR ActivityPub actor.

    There could be an actor for each hash-tag, too.

    You could even do Del.icio.us like things — and have actors for intersections of hash-tags, too.

    These hash-tag actors' inboxes would need to be readable by anyone.

    ...

    This could be a more ActivityPub like API alternative to Mastodon's "GET /API/v1/tags/{name}" API.

    read more

  • @hongminhee How hard would it be for a future version of ActivityPub to simply back out JSON-LD support? Would there be a downside to this?

    read more

  • @julian Yes, POST to personal inbox sends a 404, POST to group inbox sends a 202 (I guess group inbox is how we communicate now).

    read more

  • @silverpill@mitra.social POSTing that inbox sends a 404?

    read more

  • @julian @liaizon https://activitypub.space/uid/1/inbox still returns 404. Perhaps group's inbox is working?

    UPD: yes https://activitypub.space/category/5/inbox returns 202

    read more

  • @nicholas Agreed with all of this!

    @evan @travisfw

    read more
Post suggeriti
  • 0 Votes
    2 Posts
    5 Views
    Merci @GillesLeCorre2 plein de belles choses a vous deux. 🙏P.S. ça c'est passé comment cette nuit avec les bruyant voisins?
  • 0 Votes
    6 Posts
    7 Views
    @gsohn @henninguhle ich kann’s mir gerne mal anschauen. Es gibt verschiedene Optionen wie man die Posts im Fediverse „gestalten“ kann!
  • 0 Votes
    1 Posts
    10 Views
    Hey @elk fans, we have a new release on https://elk.zone -- please try it out & enjoy! :)https://github.com/elk-zone/elk/releases/tag/v0.17.0#elk #mastodev #mastodon
  • 0 Votes
    1 Posts
    12 Views
    Non tutti sanno che... E' semplicissimo fare un post (toot) sul proprio profilo #mastodon con un semplice comando, ad esempio utilizzando #curl. Vediamo come fare. Abilitazione e creazione token Accedere, con il vostro account, al l'istanza mastodon di riferimento. Andare su Preferenze (menù a destra) Andare su Sviluppo (menù a sinistra) Fare click su Nuova applòicazione Compilare tutti i campi e concedere almeno i permessi di scrittura post. Salvare in un luogo sicuro (password manager) quanto generato. Comando curl di esempio curl -s -X POST https://mastodon.uno/api/v1/statuses \ -H "Authorization: Bearer TOKEN_DI_ACCESSO" \ -d "status=Ciao mondo" \ -d "visibility=public" \ Semplice Script di invio A questo punto possiamo farci un semplice script che prende in input, come parametro, del testo e lo invia per noi. cat toot.sh #!/bin/bash # Verifica che sia stato passato almeno un argomento if [ -z "$1" ]; then echo "Errore: devi passare il testo del toot come parametro." echo "Uso: $0 \"Testo del toot\"" exit 1 fi # Salva il parametro in una variabile TOOT="$1" # Esegui la richiesta POST curl -s -X POST https://mastodon.uno/api/v1/statuses \ -H "Authorization: Bearer TOKEN_DI_ACCESSO" \ -d "status=$TOOT" \ -d "visibility=public" \ -H "Authorization: Bearer TOKEN_DI_ACCESSO" \ | jq '.uri' Ho inserito #jq in fondo con un filtro (che possiamo modificare a nostro piacimento), perché l'output in formato json è abbastanza prolisso Perché? A parte che è bello fare il nerd è usare #mastodon da command line, ma la cosa può essere molto utile se la usiamo in abbinata ad altre azioni/comandi. Pensiamo ad esempio ad un integraszione con #forgejo, ad esempio potremmo fare un post (tramite #webook) al termine del nostro workflow. Un altro esempio è il collegare l'account ad un servizio di monitoraggio come #uptimekuma in questo modo si avrà una pagina che indica ai follower lo stato dei nostri servizi. Oppure usarlo al termine di un nostro script che preleva i prossimi appuntamenti da un caledario ics. Insomma, potete integrare l'invio di un toot alla fine di un vostro script custom, il limite a questo punto è solo la fantasia! E voi come lo usate? Seguimi su mastodon: @magostinelli@mastodon.uno Articolo pubblicato con licenza CC BY-NC-SA