Skip to content

masautt/vscode-headlines

Repository files navigation

Headlines for Visual Studio Code

Show headlines from NewsApi.org in Visual Studio Code status bar.

demo

Installation

Install from Visual Studio Code Marketplace

Build from Source Code

git clone https://github.com/masautt/vscode-headlines.git
cd vscode-headlines
npm i
npm i vsce -g
vsce package .

Prerequisites

You need to have an active key from NewsAPI in order for this extension to work. You can grab your free key here.

Set Sources and API Key

After installing, you should see the following on your status bar :

Click the notice and enter your sources in the dropdown menu.

Add as many tech sources as you want! I usually include the following for my tech news :

techcrunch,engadget,hacker-news,recode,techradar,the-next-web,the-verge

For a list of all NewsAPI sources, click here.

Settings

If you ever need to change these settings enter Ctrl Shift p and type Headlines :

What's New in 1.0.1?

Open headlines in your browser by clicking the "🔗" icon

Future Plans

⚙️ VSCode Integration

  • Toggleable Alignment : Choose where Headlines are placed on your status bar
  • Keyboard Shortcuts : Assign custom shortcuts for navigating your headlines
  • Custom Refresh Time : Choose when new headlines are requested and displayed
  • ✔️ Clickable Links : Click on a headline to view the link in your browser

📰 NewsAPI Integration

  • Top Headlines : Just grab the top headlines of the day, source agnostic
  • Search Terms : Limit your headlines to a specific keyword i.e. bitcoin
  • Categories : Instead of sources, subscribe to categories i.e. technology

Special Thanks

Project based on Sneezry's vscode-instant-weather extension.

Free icon from Nick Roach's Circle Icons pack on IconFinder.com.

License

MIT License

About

VSCode extension that displays headlines in your status bar

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published