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
  • 0 Votes
    1 Posts
    0 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
  • 0 Votes
    23 Posts
    25 Views
    @d1re_w0lf no... someone else I know also had issues with Sharkey... it's the first app packaged by YunoHost that is giving me such a headache. Usually the installation is seamless 😭​
  • 0 Votes
    3 Posts
    5 Views
    Oh, and the source article also exists in English: https://www.iva.se/en/published/ivas-gold-medal-2025-daniel-stenberg--the-architect-behind-a-global-communications-backbone/?epslanguage=en
  • 0 Votes
    1 Posts
    11 Views
    Daniel Stenberg - @bagder - is ready!AI slop attacks on the curl project We're all excited!#EuroBSDCon #ebc25 #ebc2025 #curl
  • 0 Votes
    1 Posts
    2 Views
    Joshua Rogers sent us a *massive* list of potential issues in #curl that he found using his set of AI assisted tools. Code analyzer style nits all over. Mostly smaller bugs, but still bugs and there could be one or two actual security flaws in there. Actually truly awesome findings.I have already landed 22(!) bugfixes thanks to this, and I have over twice that amount of issues left to go through. Wade through perhaps.Credited "Reported in Joshua's sarif data" if you want to look for yourself
  • 0 Votes
    1 Posts
    4 Views
    In this interview, Daniel Stenberg, lead developer of #cURL, discusses how the widely used tool remains secure across billions of devices, from cloud services to IoT. He shares insights into cURL’s decades-long journey of testing, reviewing, and refining its code to minimize risks.Stenberg also explains the team’s approach to handling vulnerabilities, ensuring transparency, and maintaining trust in the open-source ecosystem.https://www.helpnetsecurity.com/2025/09/18/daniel-stenberg-running-curl-project/

Gli ultimi otto messaggi ricevuti dalla Federazione
Post suggeriti
  • 0 Votes
    1 Posts
    0 Views
    Tech people talk about tech too much. I really really REALLY want to use all the awesome privacy friendly FOSS (and similar) stuff, but I am not a techie person! I don't know how to program, nor do I want to. And every SINGLE time I try to find out even what thing (OS, program, app, service, etc) to use, let alone how, and I search for it... I get techie-focused answers. It's complete gibberish to me! Absolutely useless. It makes me feel actively unwelcome even though I really care about using alternatives to Windows, Meta, X and other dystopic nonsense. For example: I'm like "How do I start a non-enshittified group chat to talk about a thing?" and all the results are technobabble to me. I don't even know if the words they use are supposed to be normal english words or if they refer to orgs or groups or apps or some weird coding wizardry. I am so lost, every single time. I stick with it though. But like. I wonder if the tech people realise that this is happening???? Because they probably understand what they're talking about. And they seem to not realise that not everyone does. I'm not trying to blame or shame anyone or even complaining as such (a little bit complaining, ngl), mostly just giving feedback. This is not an issue with a singe thing but with ALL of it as a whole! Including #GNU #Linux the #Fediverse #Matrix and most #FOSS apps. My sincere wish: Give non-techie people an EASY TO FIND and easy to read and easy to understand and easy to implement guide about how to use the things as an alternative to using big corporation services, ie, "I just want it to work" and not have to worry about the technical side of things. (examples in thread)
  • 0 Votes
    1 Posts
    0 Views
    E’ nata la rete nazionale delle Comunità Energetiche Rinnovabili e Solidali!Domenica 19 ottobre, oltre 160 persone da 10 regioni si sono incontrate all’ex GKN di Campi Bisenzio per costruire insieme una transizione energetica giusta, partecipata e solidale.Rappresentanti di più di 30 Comunità Energetiche Rinnovabili e Solidalhttps://fridaysforfutureitalia.it/e-nata-la-rete-nazionale-delle-comunita-energetiche-rinnovabili-e-solidali/#News #Cers #ComunitEnergetiche #rinnovabili
  • 0 Votes
    2 Posts
    0 Views
    @DrALJONES Albanese difesa a spada tratta da nazioni propal contro i tifosi del genocidio tipo meloni
  • 0 Votes
    1 Posts
    0 Views
    The world’s gaze has shifted away from Gaza and it was seemingly relegated in importance. After all, a little over two years after the 7 October attacks, with Israel’s unforgiving campaign of annihilation, a ceasefire was reached. Brokered by US President Donald Trump, negotiations culminated in a ceremony in Egypt on 13 October that celebrated "peace in the Middle East". https://www.middleeasteye.net/opinion/there-was-never-ceasefire-or-peace-gaza🕎 🇵🇸 ☮️#Gaza #Palestine#Press #News