Skip to content
kaboyoPublic

About

Unified macOS menu bar opportunity aggregator (Fellowships, Scholarships, Jobs, Grants) with TypeSafe Jev Sieve and proxy relay

Resources

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

SiftBar

A unified macOS 13+ menu bar app that monitors RSS and Atom feeds across Fellowships, Scholarships, Remote & AI Jobs, Research Grants, and custom channels—with optional Jev (TypeSafe AI) Sieve decision filtering and an optional zero-dependency proxy relay.

Derived from GrantBar under GNU AGPL v3.0.

Architecture

flowchart LR
    A[RSS & Atom Feeds] --> B[SieveManager]
    B --> C[Include / Exclude Keyword Filters]
    C --> D{Jev Sieve Mode?}
    D -- Off --> G[Menu Bar Popover & macOS Notifications]
    D -- Balanced / Strict --> E[JevSieveClient]
    E -- Direct Mode --> F[TypeSafe /v1/systemone]
    E -- Proxy Mode --> P[proxy/server.mjs or worker.js]
    P --> F
    F --> G
Loading

Features

  • Multi-channel menu bar popover (460 × 580): Filter opportunities by channel (All, Fellowships, Scholarships, Jobs, Grants, or custom channels) and live text search.
  • Customizable Search Cases: Create search cases from curated templates or blank searches, customize names/SF Symbol icons/classifier tracks, set channel-wide include/exclude keywords, edit feeds in place, generate RSS feeds directly from a search topic, and export/import .siftcase.json configs.
  • Per-channel Jev Sieve (POST /v1/systemone): Uses TypeSafe's noul (is_opportunity), choice (track), and score (fit) primitives with customizable prompts, tracks, selection criteria, Balanced (≥ 45%) / Strict (≥ 70%) / Off modes, and per-case confidence overrides.
  • Direct or Proxy Engine: Connect directly to https://api.typesafe.ai/v1/systemone via macOS Keychain, or point SiftBar at the included proxy/ relay (server.mjs locally or worker.js on Cloudflare Workers) so your API key stays off client devices.
  • Native desktop notifications: Builds a silent baseline on first launch and alerts when new matching opportunities arrive; clicking a single-item alert opens it in your browser.
  • Hardened parsing & links: Disables XML external entity resolution (shouldResolveExternalEntities = false) and permits only http:// and https:// URLs.

Default Channels & Feeds

Channel Default Feeds
Fellowships ProFellow, Opportunity Desk — Fellowships, Opportunities For Africans — Fellowships, EURAXESS Research & MSCA
Scholarships Scholars4Dev, Opportunities For Africans — Scholarships, IOScholarships, Opportunities Corners
Remote & AI Jobs Himalayas Remote Jobs, We Work Remotely — Programming, Jobicy — Data Science & AI, Remotive — All Remote Jobs
Research Grants UKRI Funding Opportunities, NSF Funding Announcements, NSF Upcoming Due Dates

Additional one-click presets (including Google News scholarship/fellowship queries and NSF/NIH filtered feeds) are built into Manage Sieves → Channels & Feeds → Add Preset....

Build, Test & Install

Requires macOS 13+ and Xcode Command Line Tools (xcode-select --install).

# Run unit tests (Swift Testing)
bash test.sh

# Build signed SiftBar.app bundle
bash build.sh

# Install to /Applications and launch
rm -rf /Applications/SiftBar.app && cp -R SiftBar.app /Applications/SiftBar.app
open /Applications/SiftBar.app

# Package a distributable DMG
bash package.sh 1.0.0

Jev Sieve Setup (Direct vs. Proxy)

Direct Mode

  1. Open the menu bar icon → Manage Sieves → Jev Engine & Proxy.
  2. Keep Endpoint Mode set to Direct (TypeSafe API).
  3. Enter your TYPESAFE_API_KEY (stored in macOS Keychain under com.local.siftbar.typesafe, with TYPESAFE_API_KEY environment variable fallback) and click Save & Re-sieve.

Proxy Mode

See proxy/README.md and proxy/.env.example for running locally (node proxy/server.mjs) or deploying to Cloudflare Workers (proxy/worker.js). Then switch Endpoint Mode to Custom Proxy and enter your proxy URL (e.g. http://127.0.0.1:8787/v1/systemone) and optional Bearer token.

Repository Structure

sift-bar/
├── .github/workflows/       # CI (macOS Swift tests + proxy smoke check) & DMG release
├── Sources/
│   ├── SiftBarCore/         # Models, RSSParser, JevSieve, SieveManager, SwiftUI views
│   └── SiftBar/             # @main menu bar app & AppDelegate
├── Tests/SiftBarTests/      # Swift Testing suites (RSSParser, JevSieve, SieveManager)
├── proxy/                   # Zero-dependency Node.js & Cloudflare Worker relay
├── build.sh / test.sh / package.sh / make_icon.swift
├── CHANGELOG.md / SECURITY.md / CLAUDE.md / LICENSE

Security

See SECURITY.md for URL validation, XML hardening, Keychain secret handling, and proxy security controls.

License

GNU Affero General Public License v3.0 (see LICENSE).

About

Unified macOS menu bar opportunity aggregator (Fellowships, Scholarships, Jobs, Grants) with TypeSafe Jev Sieve and proxy relay

Resources

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages