• This repository has been archived on 28/Jan/2023
  • Stars
    star
    3
  • Rank 3,844,765 (Top 78 %)
  • Language
    Ruby
  • License
    MIT License
  • Created almost 5 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

ShortLook CLI for scaffoling a ShortLook Provider

Shortlook CLI

This is a CLI for scaffolding a ShortLook Provider

Learn more about ShortLook itself here.

If you are looking for ShortLook providers you can find them here or here.

Installation

This CLI runs on Ruby. Ensure you have Ruby installed before executing the following command:

$ gem install shortlook

You can check if Ruby is installed with the following command

$ ruby -v
ruby 2.6.2p47 (2019-03-13 revision 67232) [x86_64-darwin18]

Usage

The usage of the generator is pretty straight forward:

$ shortlook

Commands:
  shortlook help [COMMAND]  # Describe available commands or one specific command
  shortlook provider NAME   # Generate a scaffold ShortLook Provider
  shortlook version         # shortlook version

To start the Provider generator use the provider command followed by the search term of the app you want to build a provider for:

$ shortlook provider whatsapp

(    โ— ) Fetching Apps for 'whatsapp'
Select the App you want to create a Provider for: (Use arrow keys, press Enter to select)
โ€ฃ WhatsApp Messenger (net.whatsapp.WhatsApp)
  WhatsApp Business (net.whatsapp.WhatsAppSMB)
  What's the Pic? - Hidden Object Puzzle Pictures (com.wtfapps.explorer1)
  Messenger for WhatsApp WebApp (com.limhong.messenger)
  Emoji Free โ€“ Emoticons Art and Cool Fonts Keyboard (goatmem.emoji)
  WatchUp - for WhatsApp (co.watchify.WatchUp2)

What's the name of your provider: (WhatsApp Messenger) __________

Select the type of the provider: (Use arrow keys, press Enter to select)
โ€ฃ Contact Photo
  Profile Picture
  Photo
  Cover

What's your name? (Marco Roth) __________

What's your bundle identifier prefix: (ch.marcoroth) __________

create  ShortLook-WhatsAppMessenger
create  ShortLook-WhatsAppMessenger/WhatsAppMessengerContactPhotoProvider.h
create  ShortLook-WhatsAppMessenger/WhatsAppMessengerContactPhotoProvider.m
create  ShortLook-WhatsAppMessenger/.gitignore
create  ShortLook-WhatsAppMessenger/Info.plist
create  ShortLook-WhatsAppMessenger/Makefile
create  ShortLook-WhatsAppMessenger/README.md
create  ShortLook-WhatsAppMessenger/ShortLook-API.h
create  ShortLook-WhatsAppMessenger/control


Development

After checking out the repo, run bin/setup to install dependencies. You can also run bin/console for an interactive prompt that will allow you to experiment.

To install this gem onto your local machine, run bundle exec rake install. To release a new version, update the version number in version.rb, and then run bundle exec rake release, which will create a git tag for the version, push git commits and tags, and push the .gem file to rubygems.org.

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/marcoroth/shortlook-cli. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.

Copyright

Copyright (c) 2019 Marco Roth. See MIT License for further details.

More Repositories

1

turbo_power

Power-pack for Turbo Streams
TypeScript
323
star
2

turbo_power-rails

Power-pack for Turbo Streams
Ruby
219
star
3

current.js

A tiny ๐Ÿค library (only 410 B) that allows you to access current `<meta>` elements
TypeScript
159
star
4

stimulus-lsp

Intelligent Stimulus tooling for Visual Studio Code and Neovim
TypeScript
127
star
5

gem.sh

Beautiful documentation for any Ruby gem.
Ruby
95
star
6

hotwire.io

Community-driven documentation and resource Hub for Hotwire.
HTML
94
star
7

turbo-morph

Morph action for Turbo Streams
JavaScript
90
star
8

boxdrop

Dropbox Clone built with StimulusReflex
Ruby
76
star
9

formulus

Client-side HTML form validations based on the browser HTML Form Validation API
TypeScript
72
star
10

phlexing

Simple ERB to Phlex converter
Ruby
71
star
11

turbo-ruby

Turbo helpers without the requirement for Rails
Ruby
41
star
12

cable-streams

Extend Turbo Streams with Custom Turbo Stream Actions and CableReady operations
TypeScript
26
star
13

stimulus-parser

Statically analyze Stimulus controllers in your project.
TypeScript
25
star
14

rails7-stimulus-reflex-esbuild

Example StimulusReflex installation using Rails 7 and esbuild
Ruby
24
star
15

stimulus-render

[PoC] HTML rendering mechanism for Stimulus Controllers
TypeScript
18
star
16

type_fusion

Collaborative Ruby type sampling
Ruby
16
star
17

local-time

Modern fork of Basecamp's `local-time`
TypeScript
12
star
18

easy_enum

Turn any Ruby class in an easy to use enum.
Ruby
12
star
19

cable_ready.cr

[WIP] CableReady Crystal port
Crystal
10
star
20

dependabot-bump-together-action

GitHub Action to bump multiple dependencies with dependabot in a single pull request
Ruby
8
star
21

rubocop-stimulus_reflex

Code style checking for StimulusReflex
Ruby
8
star
22

netatmo-ruby

Ruby gem to interact with the Netatmo REST API
Ruby
7
star
23

railsbytes-cli

CLI to apply Railsbytes.com templates to your Rails application
Ruby
7
star
24

cable-streams-rails

Rails companion gem for the `cable-streams` NPM package
Ruby
6
star
25

ShortLook-WhatsApp

Show WhatsApp users' profile pictures in ShortLook when you receive a WhatsApp notification
Objective-C
5
star
26

rubocop-cable_ready

Code style checking for CableReady
Ruby
4
star
27

ShortLook-Bandsintown

Show Bandsintown artists' profile pictures in ShortLook when you receive a Bandsintown notification
Objective-C
4
star
28

stimulus-blurhash

Stimulus Controller for BlurHash
JavaScript
2
star
29

ShortLook-RocketChat

Show RocketChat users' profile pictures in ShortLook when you receive a RocketChat notification
Objective-C
2
star
30

ShortLook-VK

Show VK users' profile pictures in ShortLook when you receive a VK notification
Objective-C
2
star
31

ShortLook-GitHub

Show GitHub users' profile pictures in ShortLook when you receive a GitHub notification
Objective-C
2
star
32

ShortLook-Line

Show Line users' profile pictures in ShortLook when you receive a Line notification
Objective-C
2
star
33

ShortLook-KakaoTalk

Show KakaoTalk Contact Photos in ShortLook when you receive a KakaoTalk notification
Objective-C
2
star
34

usersnap-stimulus-repro

HTML
1
star
35

rcrdshp-market-extension

Small extension for the RCRDSHP Marketplace
JavaScript
1
star
36

POC2u

Ruby
1
star
37

cable_ready-dsl

[PoC] An opinionated DSL for CableReady.
Ruby
1
star
38

spritpreisrechner-ruby

Ruby Wrapper for the e-control.at Spritpreisrechner HTTP API
Ruby
1
star
39

tankerkoenig-ruby

Ruby Wrapper for the Tankerkoenig API
Ruby
1
star
40

async-websocket-with-inactive-tab

HTML
1
star
41

ShortLook-Mixcloud

Show Mixcloud covers in ShortLook when you receive a Mixcloud notification
Objective-C
1
star
42

stimulus_reflex-form-serialize-app

Ruby
1
star
43

mirrOS_spotify

Modul zum Anzeigen des zurzeit spielenden Track auf Spotify.
PHP
1
star
44

openmensa-parsers

OpenMensa.org parsers
Ruby
1
star
45

ShortLook-LinkedIn

Show LinkedIn users' profile pictures in ShortLook when you receive a LinkedIn notification
Objective-C
1
star
46

ShortLook-Slack

Show Slack users' profile pictures in ShortLook when you receive a Slack notification
Objective-C
1
star
47

ShortLook-SteamChat

Show SteamChat Profile Pictures in ShortLook when you receive a SteamChat notification!
Objective-C
1
star
48

ShortLook-Xing

Show Xing users' profile pictures in ShortLook when you receive a Xing notification
Objective-C
1
star
49

ShortLook-Viber

Show Viber users' profile pictures in ShortLook when you receive a Viber notification
Objective-C
1
star
50

mirrOS_todoist

Dieses mirrOS Modul zeigt deine Aufgaben aus einer Todoist-Liste an.
PHP
1
star