Skip to content

πŸ‡±πŸ‡° The ultimate Chrome Extension for Sri Lankan news. Get real-time Sinhala & English updates, smart keyword alerts, and dark modeβ€”all in one place.

License

Notifications You must be signed in to change notification settings

SadeshRaj/LankaCast

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

17 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ‡±πŸ‡° LankaCast - Sri Lankan News Extension

Version Manifest License

The ONE AND ONLY browser extension delivering both Sinhala and English news from Sri Lanka directly to your toolbar.

LankaCast is a unique, lightweight Chrome Extension designed for Sri Lankans. It fetches real-time news from Ada Derana and keeps you connected with what's happening in the island. It features automatic background updates, smart keyword alerts, dark mode, and one-click WhatsApp sharing.


πŸ“₯ Download

Since this is a developer preview, you can download the latest version directly from Google Drive:

Download ZIP

πŸ“‚ Click Here to Access the Project Files


πŸ“Έ Screenshots

Sinhala Feed English Feed Settings & Alerts
Sinhala View English View Alerts Tab
WhatsApp Sharing Extension Installed
WhatsApp Share Pinned to Toolbar

✨ Unique Features

  • πŸ“° Dual-Language Hub: Seamlessly switch between Sinhala and English news feeds in one popup.
  • ⚑ Auto-Refresh: Background service workers fetch updates every minute to keep you current.
  • πŸ”” Smart Alerts: Set custom keywords (e.g., "Cricket", "Election") to receive instant notifications when they appear in the news, even if popup notifications are turned off.
  • πŸŒ™ Dark Mode: Fully optimized dark theme that syncs with your preferences.
  • πŸ“² Quick Share: Share any news item directly to WhatsApp with a single click.
  • πŸ›‘οΈ Reliability: Built on Manifest V3 for better performance and battery life.

πŸš€ Installation Guide (For Beginners)

Since this extension is in "Developer Mode" (not yet on the Chrome Web Store), follow these simple steps to install it:

Step 1: Download & Prepare

  1. Click the Download link above.
  2. Download the files (if it's a ZIP file, right-click and select Extract All or Unzip).
  3. Save the folder somewhere safe (e.g., Documents/LankaCast).

Step 2: Open Chrome Extensions

  1. Open Google Chrome.
  2. In the address bar, type chrome://extensions and press Enter.
  3. Enable Developer Mode: Look for a toggle switch in the top-right corner and turn it ON (Blue).

Step 3: Load the Extension

  1. Click the button that says "Load unpacked" (top-left).
  2. Select the LankaCast folder you extracted in Step 1 (make sure you select the folder that contains manifest.json).
  3. πŸŽ‰ Success! You should now see the LankaCast icon (Lion Flag) in your browser toolbar.

Tip: Click the "Puzzle Piece" icon 🧩 in Chrome and Pin πŸ“Œ LankaCast to keep it visible!


πŸ“– How to Use

1. Reading News

  • Click the extension icon to open the popup.
  • Use the bottom navigation bar to switch between Sinhala and English tabs.
  • Click any news card to read the full story on the official website.

2. Setting Keyword Alerts

  • Go to the Alerts tab.
  • Type a keyword (e.g., Cricket) in the input box and click Add.
  • You will now receive a system notification whenever a news title matches that keyword.

3. Dark Mode

  • Click the Sun/Moon Icon in the top header to toggle between Light and Dark modes instantly.

πŸ› οΈ Tech Stack

  • Frontend: HTML5, CSS3 (Native CSS Variables)
  • Logic: JavaScript (ES6+, Async/Await)
  • Platform: Chrome Extension Manifest V3
  • Storage: chrome.storage.local for settings and history
  • APIs: Ada Derana RSS Feeds & Google Analytics 4

πŸ“‚ Project Structure

LankaCast/
β”œβ”€β”€ manifest.json       # Extension configuration (Permissions, V3)
β”œβ”€β”€ popup.html          # Main UI structure
β”œβ”€β”€ popup.css           # Styling
β”œβ”€β”€ popup.js            # UI logic & Data rendering
β”œβ”€β”€ background.js       # Background fetcher & Notification logic
β”œβ”€β”€ README.md           # Documentation
└── images/             # Icons

πŸ‘¨β€πŸ’» Developer

Developed with ❀️ by SadeshRaj.

πŸ“œ License

This project is open-source and available under the MIT License.

About

πŸ‡±πŸ‡° The ultimate Chrome Extension for Sri Lankan news. Get real-time Sinhala & English updates, smart keyword alerts, and dark modeβ€”all in one place.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published