himynameisdave / earthtab Goto Github PK
View Code? Open in Web Editor NEWEarthTab pulls images from Reddit's SFW nature porn to transform your new tabs into beautiful windows into Earth's natural beauty.
License: MIT License
EarthTab pulls images from Reddit's SFW nature porn to transform your new tabs into beautiful windows into Earth's natural beauty.
License: MIT License
parse the resolution and only accept large images.
So like if the user sees a really cool image they can "fav" it and then it may be randomly chosen to appear again.
This is going to involve parsing the posted image size/grabbing it/figuring it out/calculating it
Actually build out the gulpfile so that a proper, compressed package is outputted for easy uploading.
Use gulp-zip for the compression.
No repeating already used images.
Have a localStorage store of all the old images used and just like check against that.
This way it is much, much more easily accessible.
Currently it's like it's own localStorage object
Hard to reproduce, but at least the source of the error is evident:
The problem stems from trying to set the background when there is no data for it to pull from:
if( !this.data.base64Img && !this.data.bgUrl )
throw "Trying to set background, however could not find a base64Img or bgUrl in the data set!";
Sometimes the post time will be something dumb like 952 hours - this should be truncated/transformed into days/weeks/months.
It would be nice be able to click as a means of pulling up the info about the pic and not just having it show by default.
So that users can force a new image to be loaded instead of just waiting
Part of the data on the backside of the clock should be which subreddit it's being pulled from.
a little function that accepts the bits that make up the url and gets passed as a param to fetchRedditData
Using something like cheet.js, make there be a cheat code to unlock actual porn subreddits (from Miguel)
I was just reading about the proper way to store images in localstorage and it seems a whole lot cleaner than what we're working with here.
import fonts the proper way and not the google way (so that if offline then no biggie, fonts and a cached image still load)
Dan liked the idea of having a "dark" theme option which I agree would be neat
Migrate away from chrome.storage.local
and to chrome.storage.sync
so that user's settings will sync across their devices.
Huge bug found that was causing tons of issues.
So essentially loopThroughRedditData()
was failing because it is only fed 25 results. We need to fetch new reddit data if this is the case.
Pull quotes from something like r/quotes. Have this as an option for users, because not everyone would want this.
Pull jokes off reddit from something like r/jokes and have it as an option for users
Would be a great idea to display some helpful tips shown to the user when they first load up the app.
It could just like explain favouriting and things like that.
Add a button so that users can easily clear away their store of used images and start again fresh.
Frequency is going to be set to something really small all the time, such as 5mins. This way we don't have to save/set the frequency, and the design will look better because no stupid bar thing.
Some domains other than just i.imgur would be a huge help.
I forget what it means but regardless we should strip it out.
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.