Skip to content

hypnoticdata777/dailyContext

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

⚡ daily context

🌐 View Landing Page

Context-aware articles for VS Code, powered by daily.dev API

Built for the daily.dev Public API Hackathon 2026


What is daily context?

daily context is a VS Code extension that surfaces relevant developer articles from daily.dev as you code. Highlight any code snippet, and instantly get curated articles that match your context—no commands, no shortcuts, just natural workflow integration.

✨ Features

  • 🔍 Real-time Suggestions - Highlight code and get instant article recommendations
  • Zero Configuration - Install and start using immediately, no API keys required
  • 🎯 Smart Context Detection - Extracts keywords from your code using pattern matching
  • 📚 daily.dev Powered - Access thousands of curated developer articles
  • 🎨 Clean UI - Sidebar integration with daily.dev branding

🚀 Installation

  1. Download the .vsix file from Releases
  2. In VS Code: Extensions → ... (More Actions) → Install from VSIX
  3. Select the downloaded .vsix file
  4. Reload VS Code

Or install via command line:

code --install-extension daily-context-0.0.1.vsix

💡 How to Use

  1. Open any code file in VS Code
  2. Highlight a code snippet (function, variable, or any text)
  3. Articles appear automatically in the "DAILY CONTEXT" sidebar
  4. Click any article to read on daily.dev

No commands needed - just highlight and read!

📸 Screenshots

Extension in Action

daily context in VS Code

Features Overview

  • Sidebar shows articles instantly after highlighting code
  • daily.dev branding with clean, minimal UI
  • Direct links to full articles

🛠️ Tech Stack

  • Language: TypeScript
  • Platform: VS Code Extension API
  • API: daily.dev Public API (recommend/keyword endpoint)
  • HTTP Client: Native fetch (Node.js 18+)
  • Keyword Extraction: Regex-based pattern matching

🧪 Development

Prerequisites

  • Node.js 18+ (for native fetch support)
  • VS Code 1.85.0+

Setup

# Clone the repo
git clone https://github.com/hypnoticdata777/dailyContext.git
cd dailyContext

# Install dependencies
npm install

# Run extension in debug mode
# Press F5 in VS Code to launch Extension Development Host

Project Structure

dailyContext/ ├── src/ │ ├── extension.ts # Main entry point │ ├── parser/ │ │ └── ContextParser.ts # Keyword extraction logic │ ├── services/ │ │ └── DailyDevService.ts # API integration │ └── views/ │ └── webviewProvider.ts # Sidebar UI ├── media/ # Icons and assets └── package.json # Extension manifest

🏆 Hackathon Details

Event: daily.dev Public API Hackathon 2026
Submission Deadline: May 25, 2026
Developer: Carlos Sanchez (@hypnoticdata777)

Day 2 Progress (May 21, 2026)

  • ✅ Fixed deselect behavior and UI state management
  • ✅ Added CODE_KEYWORDS pattern for better large selection support
  • ✅ Edge case testing (6/6 tests passed)
  • ✅ Built and deployed landing page

📝 License

MIT License - see LICENSE for details

🙏 Credits

Powered by the daily.dev Public API


Made with ❤️ for the developer community

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors