Skip to content

Commit

Permalink
initial window
Browse files Browse the repository at this point in the history
  • Loading branch information
mperham committed Nov 17, 2023
1 parent c06d558 commit 1f775c5
Show file tree
Hide file tree
Showing 6 changed files with 82 additions and 1 deletion.
9 changes: 9 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# frozen_string_literal: true

source "https://rubygems.org"

# gem "rails"

gem "glimmer-dsl-libui"
gem "sidekiq"
gem "rake"
53 changes: 53 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
GEM
remote: https://rubygems.org/
specs:
array_include_methods (1.4.0)
chunky_png (1.4.0)
color (1.8)
concurrent-ruby (1.2.2)
connection_pool (2.4.1)
equalizer (0.0.11)
facets (3.1.0)
glimmer (2.7.3)
array_include_methods (~> 1.4.0)
facets (>= 3.1.0, < 4.0.0)
glimmer-dsl-libui (0.5.24)
chunky_png (~> 1.4.0)
color (~> 1.8)
equalizer (= 0.0.11)
glimmer (~> 2.7.3)
libui (~> 0.0.15)
os (>= 1.0.0, < 2.0.0)
perfect-shape (~> 1.0.5)
rouge (>= 3.26.0, < 4.0.0)
super_module (~> 1.4.1)
libui (0.0.15)
matrix (0.4.2)
method_source (1.0.0)
os (1.1.4)
perfect-shape (1.0.8)
equalizer (>= 0.0.11, < 1.1.0)
matrix (>= 0.4.2, < 1.1.0)
rack (3.0.8)
rake (13.1.0)
redis-client (0.18.0)
connection_pool
rouge (3.30.0)
sidekiq (7.2.0)
concurrent-ruby (< 2)
connection_pool (>= 2.3.0)
rack (>= 2.2.4)
redis-client (>= 0.14.0)
super_module (1.4.1)
method_source (>= 0.8.2, < 1.1.0)

PLATFORMS
arm64-darwin-22

DEPENDENCIES
glimmer-dsl-libui
rake
sidekiq

BUNDLED WITH
2.4.22
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Quick - Sidekiq UI

Quick is a native desktop application for Sidekiq admin UI. It uses the Glimmer toolkit for building native UI in Ruby.
Quick is a native desktop application for Sidekiq admin UI. It uses the Glimmer toolkit for building native GUIs in Ruby.

Please note this is a prototype and nothing official or usable at the moment.
5 changes: 5 additions & 0 deletions Rakefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
task :run do
require_relative "./app"
end

task :default => :run
9 changes: 9 additions & 0 deletions app.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
require "sidekiq"
require "glimmer-dsl-libui"

include Glimmer

window {
title "Sidekiq"
content_size 800, 600
}.show
3 changes: 3 additions & 0 deletions bin/quick
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/usr/bin/env ruby

require "app"

0 comments on commit 1f775c5

Please sign in to comment.