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://join-lemmy.org/context.json", "https://www.w3.org/ns/activitystreams" ], "type": "Page", "id": "https://lemmy.world/post/20010618", "attributedTo": "https://lemmy.world/u/Commodore", "to": [ "https://programming.dev/c/rust", "https://www.w3.org/ns/activitystreams#Public" ], "name": "Need some advice about creating game overlay in Linux", "cc": [], "content": "<p>Hi. I’ve been learning Rust for a while, and I want to take on an actual project now to learn even more. I need to be pointed in the right direction for one aspect of the affair, and I hope someone here can help me.</p>\n<p>I want to create a deck tracker for Hearthstone that runs natively in Linux. This is, on the back end, a fairly simple matter of parsing a constantly updated file that tracks everything that happens in the game. On the front end, however, I want to create a window that sits on top of the fullscreen Hearthstone window and shows me stuff. The “stuff” doesn’t have to be images or anything fancy, I’ll take whatever I can get, but I don’t know how to get started on this part.</p>\n<p>So the task is as follows: Create an overlay on top of the fullscreen Hearthstone client, preferably under Wayland, and update it constantly with new information about cards drawn, cards left in deck, that sort of thing.</p>\n<p>How do I tackle this problem? Are there any crates that’ll let me create such a window and render stuff to it? How would <em>you</em> approach the problem?</p>\n<p>Thanks in advance.</p>\n", "mediaType": "text/html", "source": { "content": "Hi. I've been learning Rust for a while, and I want to take on an actual project now to learn even more. I need to be pointed in the right direction for one aspect of the affair, and I hope someone here can help me.\n\nI want to create a deck tracker for Hearthstone that runs natively in Linux. This is, on the back end, a fairly simple matter of parsing a constantly updated file that tracks everything that happens in the game. On the front end, however, I want to create a window that sits on top of the fullscreen Hearthstone window and shows me stuff. The \"stuff\" doesn't have to be images or anything fancy, I'll take whatever I can get, but I don't know how to get started on this part.\n\nSo the task is as follows: Create an overlay on top of the fullscreen Hearthstone client, preferably under Wayland, and update it constantly with new information about cards drawn, cards left in deck, that sort of thing.\n\nHow do I tackle this problem? Are there any crates that'll let me create such a window and render stuff to it? How would *you* approach the problem?\n\nThanks in advance.", "mediaType": "text/markdown" }, "attachment": [], "commentsEnabled": true, "sensitive": false, "published": "2024-09-21T05:41:14.299166Z", "audience": "https://programming.dev/c/rust" }