ππΈβπΎπΌπ π»ππππ½πΈβπΌππ΅πΈ
DDeno
β’Created by ππΈβπΎπΌπ π»ππππ½πΈβπΌππ΅πΈ on 7/27/2024 in #help
SHOWCASE FEEDBACK
Thoughts and feedback on this?
URL: https://angeldollface.dev
Source: https://github.com/angeldollface/angeldollface.dev
4 replies
DDeno
β’Created by ππΈβπΎπΌπ π»ππππ½πΈβπΌππ΅πΈ on 6/28/2024 in #help
Event Loop for a bot
Supposing I had a function in a script for a bot that gives me all the tweets a user has posted on X.com (sharkey, actually, but lets just say x), how would I make some kind of an event listener on a server that listens for mentions of the bot's account? I was thinking about making an infinite loop but that seems wildly inefficient.
6 replies
DDeno
β’Created by ππΈβπΎπΌπ π»ππππ½πΈβπΌππ΅πΈ on 6/17/2024 in #help
Trouble with serving HTMl on localhost
Hi, so I'm building a framework for SSR and I'm struggling with the following:
When I clone my repo and run my example app with
deno run --allow-net example.ts
, and I open up any pages on localhost:8080/page{0-4}
, I see a blank white screen. I have narrowed down the problem to lines 48-75 in the file linked below. Where am I going wrong? I tried a simple console.log
from within the handler closure to no avail. What am I missing here? Link to the file:
https://github.com/angeldollface/mina/blob/main/src/server.ts10 replies
DDeno
β’Created by ππΈβπΎπΌπ π»ππππ½πΈβπΌππ΅πΈ on 5/18/2024 in #help
Custom body
I checked out the example for writing a simple HTTP server to only serve text at this link. How would I write a handler function that accepts a string parameter for the body content? Am I being stupid here?
15 replies