Hello Dev Community! ๐
I recently built and launched Malik News, a fast, lightweight, bilingual (Hindi & English) digital news portal designed to run with zero backend costs on GitHub Pages.
๐ Live Website: https://shailendra-codes.github.io/Malik-News/
๐ป Source Code: https://github.com
๐ ๏ธ Why Pure Vanilla JS Instead of a Heavy CMS?
My goal was to create a news platform that loads instantly even on slow mobile networks while remaining super easy to update with new daily issuesโwithout touching the core layout file every time.
โจ Key Architecture & Features
-
Modular 3-File Structure:
-
index.htmlhandles the core layout and styling. -
all-news.htmlstores all published news articles (<article>blocks). -
loader.jsdynamically fetches the news feed, injects the live breaking news ticker, powers instant search, and manages category filtering.
-
-
Zero External Image Dependencies:
- All logos (
MN โข NEWSbadges) and featured article banners are crafted with pure CSS gradients and Unicode icons for sub-second rendering.
- All logos (
-
Instant Filtering & Live Search:
- Readers can filter stories across 7 categories or search keywords in real time.
-
Native Web Share & SEO Integration:
- Every article automatically gets WhatsApp/Native Share buttons, paired with an XML sitemap and Google Search Console indexing.
I would love to hear your thoughts, UI suggestions, or ideas for future enhancements! Drop your feedback in the comments below. ๐
Top comments (0)