Skip to content

Latest commit

 

History

20 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GitHub Activity for Noctalia

A native, theme-aware GitHub contribution calendar for the Noctalia v5 bar. See your activity at a glance without opening GitHub in a browser.

GitHub Activity panel

Highlights

  • Compact bar widget showing a configurable contribution metric or only the GitHub icon.
  • Interactive annual heatmap with per-day activity on hover.
  • Today, current streak, best streak, and annual contribution statistics.
  • Configurable automatic refresh every 15, 30, or 60 minutes, plus manual refresh from the panel.
  • Theme-aware colors that follow the active Noctalia palette.
  • Offline-friendly cache that preserves the latest successful result.

Requirements

  • Noctalia v5 with plugin API 24 or newer.
  • GitHub CLI (gh), authenticated with the account whose activity you want to display.
  • xdg-open (xdg-utils on Arch Linux) for the Open profile button.

Authenticate GitHub CLI before enabling the plugin:

gh auth login -h github.com

Usage

Enable GitHub Activity in Noctalia's plugin manager, add the activity widget to a bar, and click it to open the calendar. Right-click the widget or use the refresh button in the panel to update immediately.

Choose the automatic refresh interval in Noctalia's plugin settings. The default is 30 minutes; 15- and 60-minute intervals are also available. The widget tooltip and calendar panel show when contribution data was last updated and the selected automatic refresh interval.

Each bar-widget instance can independently show only the GitHub icon or pair it with today's contributions, the current streak, or the annual contribution total. Configure these presentation choices from that widget's own settings.

The calendar panel can independently hide today's contributions, both streak metrics, the annual total, and the profile action. When all three metrics are hidden, the fixed-size panel expands and centers the calendar, its contextual detail, and refresh feedback for better legibility while keeping every week visible.

Plugin interface text is provided through Noctalia Translate. Calendar month and weekday labels use Noctalia's date formatter, so they follow the process LC_TIME locale.

The panel can also be toggled through IPC:

noctalia msg panel-toggle alexmnrs/github-activity:calendar

See the plugin README for complete usage, troubleshooting, compatibility, and privacy information.

Privacy

The plugin requests contribution data through gh api graphql. GitHub CLI remains the sole owner of authentication: the plugin never reads, stores, or displays a GitHub token.

Project structure

The installable plugin lives in github-activity/. catalog.toml indexes it as a Noctalia source, while tests and development configuration remain at the repository root.

Local development

Add this checkout as a local source, enable the plugin, then add GitHub Activity from Noctalia's bar widget picker:

noctalia msg plugins source add github-activity-dev path "$(pwd)"
noctalia msg plugins enable alexmnrs/github-activity

Luau source changes hot-reload. Manifest changes require a Noctalia config reload. The optional standalone tests require the luau command:

luau tests/activity_spec.luau

License

MIT

About

A native GitHub contribution calendar for the Noctalia v5 bar.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages