itsmais / word-cloud-subreddit Goto Github PK
View Code? Open in Web Editor NEWMakes a word cloud ☁ out of a given subreddit.
Home Page: https://itsmais.github.io/word-cloud-subreddit/
Makes a word cloud ☁ out of a given subreddit.
Home Page: https://itsmais.github.io/word-cloud-subreddit/
We're currently checking for "the",",",".","&","AND","And","A","An","The","with","to", "To", "and","for","For", "a", "an"
but that's obviously not nice. We should have the main keywords in one list, and punctuations in a different one. We should also check for the capital cases of words.
As you can see, there's some delay. This emptiness can be replaced with a loader/spinner.
Please stick to native CSS (no frameworks or libraries). Refer to https://www.w3schools.com/howto/howto_css_loader.asp for guidance.
There's only one stylesheet and it's quite short. It would be nice to have all the current colors replaced with CSS variables so they're easily changed in the future.
For guidance on CSS variables, please check https://developer.mozilla.org/en-US/docs/Web/CSS/Using_CSS_custom_properties
The new colors don't matter; you can pick anything you want for now. We can change that later. What matters now is having the functionality of theme switching.
The button could be something like: https://dribbble.com/shots/10492788-Toggle-animation-Light-Dark-theme but it doesn't have to be as complicated/animated.
Bootstrap load time is making the website load slower. Since it's a one-page app, it is more efficient to just use a couple of lines of CSS flexbox to do the centering.
This code currently fetches the main page of the given subreddit (link + "json"). It would be nice to scrape older pages so that the word cloud is richer with words and their frequencies.
Currently, there is a flaw in the application that if someone clicks "make a cloud" button without any text in input, it will keep loading forever...
I want to add validation for the same, please assign me this issue
The dictionary of occurrences currently has all words and does no filtering whatsoever. It would be nice to eliminate the linking English words like the, and, a, an etc.
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.