ActivityPub Viewer

A small tool to view real-world ActivityPub objects as JSON! Enter a URL or username from Mastodon or a similar service below, and we'll send a request with the right Accept header to the server to view the underlying object.

Open in browser →
{ "@context": [ "https://www.w3.org/ns/activitystreams", { "ostatus": "http://ostatus.org#", "atomUri": "ostatus:atomUri", "inReplyToAtomUri": "ostatus:inReplyToAtomUri", "conversation": "ostatus:conversation", "sensitive": "as:sensitive", "toot": "http://joinmastodon.org/ns#", "votersCount": "toot:votersCount", "expiry": "toot:expiry", "blurhash": "toot:blurhash", "focalPoint": { "@container": "@list", "@id": "toot:focalPoint" }, "Hashtag": "as:Hashtag" } ], "id": "https://qoto.org/users/lunovox/statuses/110965147115940571", "type": "Note", "summary": "Código Fonte desta automação", "inReplyTo": null, "published": "2023-08-28T03:36:13Z", "url": "https://qoto.org/@lunovox/110965147115940571", "attributedTo": "https://qoto.org/users/lunovox", "to": [ "https://www.w3.org/ns/activitystreams#Public" ], "cc": [ "https://qoto.org/users/lunovox/followers" ], "sensitive": true, "atomUri": "https://qoto.org/users/lunovox/statuses/110965147115940571", "inReplyToAtomUri": null, "conversation": "tag:qoto.org,2023-08-28:objectId=110965147115914489:objectType=Conversation", "context": "https://qoto.org/contexts/110965147115914489", "content": "<p>Esse é o sistema Lunox (Trocadilho com &quot;Linux&#39;) 😎</p><p>````lua<br />--SISTEMA LUNOX<br />--Version: 2023-08-28 00:22<br />--A tela (objTela) pode exibir 2 Janelas: contagem de tempo online (objControl), contagem de minérios entregues (objDetect). Que pode ser Alternado por um botão (objBotao1). Salva valores em banco de dados persistente (objServer) que guarda os valores mesmo que o servidor seja reiniciado. Avisa o jogador pelo chat A cada 30 minérios transportados.</p><p>------------------------------------------------------</p><p>-- called only once<br />local objTela = &quot;15139&quot;<br />local objControl = &quot;15136&quot;<br />local objServer = &quot;15140&quot;<br />local objDetect = &quot;15132&quot;<br />local objBotao1 = &quot;15141&quot;</p><p>local modo = &quot;welcome0&quot;<br />local tempo = 0<br />local contagem = 0<br />local contadorshow = &quot;&quot;<br />local nextToPrint = 0</p><p>function dataLoad()<br /> contagem = $server_read(objServer, &quot;contagem&quot;) or 0<br /> tempo = $server_read(objServer, &quot;tempo&quot;) or 0<br />end</p><p>function dataSave()<br /> $server_write(objServer, &quot;contagem&quot;, contagem)<br /> $server_write(objServer, &quot;tempo&quot;, tempo)<br />end</p><p>dataLoad()</p><p>function myLoop()<br /> tempo = tempo + 1<br /> if $get_input(objDetect) == &quot;on&quot; then<br /> contagem = contagem + 1<br /> dataSave()<br /> if nextToPrint &lt;= contagem then<br /> nextToPrint = contagem + 30<br /> $chat( string.format(&quot;Contagem de Minérios: %03d ui (tempo: %02d s)&quot;, contagem, tempo) )<br /> end<br /> end<br /> if modo == &quot;&quot; then<br /> local b = $get_input(objBotao1)<br /> if b == &quot;on&quot; then<br /> modo = &quot;welcome0&quot;<br /> end<br /> elseif modo == &quot;welcome0&quot; then<br /> $clear_screen(objTela)<br /> $display(objTela, 3, &#39;SISTEMA LUNOX&#39;)<br /> $display(objTela, 5, &#39;online...&#39;)<br /> modo = &quot;welcome1&quot;<br /> elseif modo == &quot;welcome1&quot; then<br /> $display(objTela, 7, string.format(&quot;%02d segundos&quot;, tempo))<br /> if $get_input(objBotao1) == &quot;on&quot; then<br /> modo = &quot;contador0&quot;<br /> end<br /> elseif modo == &quot;contador0&quot; then<br /> $clear_screen(objTela)<br /> $display(objTela, 3, &#39;CONTADOR DE&#39;)<br /> $display(objTela, 4, &#39;MINÉRIOS:&#39;)<br /> contadorshow = &quot;&quot;<br /> modo = &quot;contador1&quot;<br /> elseif modo == &quot;contador1&quot; then<br /> if contadorshow ~= contagem then<br /> contadorshow = contagem<br /> $display(objTela, 6, string.format(&quot;%02d ui&quot; ,contagem))<br /> end<br /> if $get_input(objBotao1) == &quot;on&quot; then<br /> $clear_screen(objTela)<br /> modo = &quot;&quot;<br /> end<br /> end</p><p>end<br />````<br /><a href=\"https://qoto.org/tags/Automa%C3%A7%C3%A3o\" class=\"mention hashtag\" rel=\"tag\">#<span>Automação</span></a> <a href=\"https://qoto.org/tags/Brazucas\" class=\"mention hashtag\" rel=\"tag\">#<span>Brazucas</span></a> <a href=\"https://qoto.org/tags/Minetest\" class=\"mention hashtag\" rel=\"tag\">#<span>Minetest</span></a> <a href=\"https://qoto.org/tags/LuaScript\" class=\"mention hashtag\" rel=\"tag\">#<span>LuaScript</span></a></p>", "contentMap": { "pt": "<p>Esse é o sistema Lunox (Trocadilho com &quot;Linux&#39;) 😎</p><p>````lua<br />--SISTEMA LUNOX<br />--Version: 2023-08-28 00:22<br />--A tela (objTela) pode exibir 2 Janelas: contagem de tempo online (objControl), contagem de minérios entregues (objDetect). Que pode ser Alternado por um botão (objBotao1). Salva valores em banco de dados persistente (objServer) que guarda os valores mesmo que o servidor seja reiniciado. Avisa o jogador pelo chat A cada 30 minérios transportados.</p><p>------------------------------------------------------</p><p>-- called only once<br />local objTela = &quot;15139&quot;<br />local objControl = &quot;15136&quot;<br />local objServer = &quot;15140&quot;<br />local objDetect = &quot;15132&quot;<br />local objBotao1 = &quot;15141&quot;</p><p>local modo = &quot;welcome0&quot;<br />local tempo = 0<br />local contagem = 0<br />local contadorshow = &quot;&quot;<br />local nextToPrint = 0</p><p>function dataLoad()<br /> contagem = $server_read(objServer, &quot;contagem&quot;) or 0<br /> tempo = $server_read(objServer, &quot;tempo&quot;) or 0<br />end</p><p>function dataSave()<br /> $server_write(objServer, &quot;contagem&quot;, contagem)<br /> $server_write(objServer, &quot;tempo&quot;, tempo)<br />end</p><p>dataLoad()</p><p>function myLoop()<br /> tempo = tempo + 1<br /> if $get_input(objDetect) == &quot;on&quot; then<br /> contagem = contagem + 1<br /> dataSave()<br /> if nextToPrint &lt;= contagem then<br /> nextToPrint = contagem + 30<br /> $chat( string.format(&quot;Contagem de Minérios: %03d ui (tempo: %02d s)&quot;, contagem, tempo) )<br /> end<br /> end<br /> if modo == &quot;&quot; then<br /> local b = $get_input(objBotao1)<br /> if b == &quot;on&quot; then<br /> modo = &quot;welcome0&quot;<br /> end<br /> elseif modo == &quot;welcome0&quot; then<br /> $clear_screen(objTela)<br /> $display(objTela, 3, &#39;SISTEMA LUNOX&#39;)<br /> $display(objTela, 5, &#39;online...&#39;)<br /> modo = &quot;welcome1&quot;<br /> elseif modo == &quot;welcome1&quot; then<br /> $display(objTela, 7, string.format(&quot;%02d segundos&quot;, tempo))<br /> if $get_input(objBotao1) == &quot;on&quot; then<br /> modo = &quot;contador0&quot;<br /> end<br /> elseif modo == &quot;contador0&quot; then<br /> $clear_screen(objTela)<br /> $display(objTela, 3, &#39;CONTADOR DE&#39;)<br /> $display(objTela, 4, &#39;MINÉRIOS:&#39;)<br /> contadorshow = &quot;&quot;<br /> modo = &quot;contador1&quot;<br /> elseif modo == &quot;contador1&quot; then<br /> if contadorshow ~= contagem then<br /> contadorshow = contagem<br /> $display(objTela, 6, string.format(&quot;%02d ui&quot; ,contagem))<br /> end<br /> if $get_input(objBotao1) == &quot;on&quot; then<br /> $clear_screen(objTela)<br /> modo = &quot;&quot;<br /> end<br /> end</p><p>end<br />````<br /><a href=\"https://qoto.org/tags/Automa%C3%A7%C3%A3o\" class=\"mention hashtag\" rel=\"tag\">#<span>Automação</span></a> <a href=\"https://qoto.org/tags/Brazucas\" class=\"mention hashtag\" rel=\"tag\">#<span>Brazucas</span></a> <a href=\"https://qoto.org/tags/Minetest\" class=\"mention hashtag\" rel=\"tag\">#<span>Minetest</span></a> <a href=\"https://qoto.org/tags/LuaScript\" class=\"mention hashtag\" rel=\"tag\">#<span>LuaScript</span></a></p>" }, "attachment": [ { "type": "Document", "mediaType": "image/jpeg", "url": "https://media.social.qoto.org/media_attachments/files/110/965/125/757/091/591/original/84ceffd041b013bc.jpg", "name": null, "blurhash": "U5Bf-0.ltS-D0e-;=|j0Qo9GNYo@4VnRt1O8", "width": 1884, "height": 870 } ], "tag": [ { "type": "Hashtag", "href": "https://qoto.org/tags/minetest", "name": "#minetest" }, { "type": "Hashtag", "href": "https://qoto.org/tags/BRAZUCAS", "name": "#BRAZUCAS" }, { "type": "Hashtag", "href": "https://qoto.org/tags/LuaScript", "name": "#LuaScript" }, { "type": "Hashtag", "href": "https://qoto.org/tags/automa%C3%A7%C3%A3o", "name": "#automação" } ], "replies": { "id": "https://qoto.org/users/lunovox/statuses/110965147115940571/replies", "type": "Collection", "first": { "type": "CollectionPage", "next": "https://qoto.org/users/lunovox/statuses/110965147115940571/replies?only_other_accounts=true&page=true", "partOf": "https://qoto.org/users/lunovox/statuses/110965147115940571/replies", "items": [] } } }