blastitt / dailyxkcd Goto Github PK
View Code? Open in Web Editor NEWA module for MagicMirror2 that displays the daily XKCD web comic.
License: MIT License
A module for MagicMirror2 that displays the daily XKCD web comic.
License: MIT License
There is a small typo in the README.md, in the example: "title" should be "showTitle".
Doesn't seem to be working. Nothing shows up on my MagicMirror. I've tried several positions to no avail :/
Perhaps the xkcd json has changed? I can't read or write javascript so I can't really help.
Built a fresh mirror and all was well until I tried to add the only thing I really need... My dose of DailyXKCD
WARNING! Could not load config file. Starting with default configuration. Error found: Error: Cannot find module 'request'
Require stack:
I was working on a pi0 so I was blaming that but I don't think that's the reason. More this...
https://forum.magicmirror.builders/topic/14866/v2-15-0
UPDATED - Replaced deprecated request package with node-fetch and digest-fetch.
Tried a quick fix but I don't really know what I'm doing in dot js land.
Awesome module. Would there be an easy way to add a config option to change the comic size?
Thanks
I have the module installed and place on MagicMirror screen where I want it. The issue is that no matter where I place it per config.js. I have looked through the css files and can't seem to locate anywhere there is a .width call out to account for it.
The comic displayed is squished (screenshot attached.)
Mike Shain
It would be great if the altText did not expand over the whole width of the screen when there is a long text (I'm using position: "bottom_right"). Best to make it the same width as the comic and have it expand height, or maybe an ellipsis if it gets way too long.
I tried to hack the css for this but couldn't find a clean way to keep the auto-expanding width while making the text the same width as the image. Maybe someone else has an idea.
Is it possible to add the option to cycle through random comics on a timer?
So I was looking at my PiHole admin page today and I noticed that I had over 12000 dns requests to XKCD.com
These all occurred within a few minutes around the time it was trying to fetch the new comic. My refresh interval is set to the default value.
Any ideas why this might be happening?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.