Coder Social home page Coder Social logo

spotter-application / spotter Goto Github PK

View Code? Open in Web Editor NEW
752.0 11.0 23.0 54.23 MB

πŸ”­ Productivity tool to launch everything

Home Page: https://spotter-app.org

License: GNU General Public License v3.0

Swift 3.34% Shell 1.22% Dart 44.05% CMake 21.63% C++ 26.62% C 1.63% Ruby 1.52%
launcher productivity alfred-alternative spotter spotlight-alternative linux macos open-source

spotter's Introduction

Spotter Thanks

Spotter - Productivity tool that allows you to launch everything | Product Hunt

Productivity tool to launch everything.

  • πŸ€–Β Β Β Fast
  • πŸ“¦Β Β Β Lightweight
  • ⬆️   Smart
  • πŸ”ŒΒ Β Β Extensible

⌨️ Installation

Soon

πŸ”Œ Plugins

Soon

πŸ’¬ Community

Telegram channel

⚠️ Troubleshooting

Spotter can’t be opened because Apple cannot check it for malicious software.

Go to System Preference -> Security & Privacy -> General -> And Press "Open Anyway"

"Spotter.app" is damaged and can’t be opened.

xattr -cr /Applications/Spotter.app

The application "Spotter" can’t be opened.

chmod +x "/Applications/Spotter.app/Contents/MacOS/Spotter"

License

GNU General Public License

spotter's People

Contributors

zaitam avatar ziulev avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

spotter's Issues

Empty settings

Hi,

I previously installed spotter and removed some settings. After a while, I wanted to use it again and reinstalled it, but now all settings but hotkey are gone. How can I restore them?

image

Calculator calculating strange results

I have installed spotter using the homebrew cask (it looks like I have spotter 0.0.4 based on the info.plist in the app bundle) and when I use it to do calculations I end up with results that are incorrect.

I am running Big Sur 11.2.3 as well.

If I try 123/2 I get the result 61.5 as expected.
If I try 61.5/2 I get the result 6.1
Even just typing 61.5 the result starts showing 12.2

It seems as soon as I add a decimal point to the equation things go wrong.
it looks like its performing division on the number when it sees a .
12.2 = 6, 1000.2 = 500

Playing with mathjs' evaluate method in a browser it calculates 61.5/2 correctly.

"spotter.app" is damaged and can't be opened

"spotter.app" is damaged and can't be opened. You should eject the disk image
Getting this error when trying to install from the Latest release page.

Error: macOS Big Sur or newer is required for this software.
Getting this error when installed through home brew.

macOS Catalina
Version: 10.15.7

Any clues on how to trouble shoot this?

[Feature Request] Launch submenus in system settings

Hi,

So far, I've been using spotlight to open arbitrary submenus in the system settings (E.g. I entered "monitors" to get to the display settings, or "security" to get to... I think you know what I mean).

It would be nice if this also worked in spotter.

Any thoughts on this?

Issue installing cocoa pods

When i do npm run install:macos i recive:
`

[email protected] install:macos
cd ./macos && pod install

Auto-linking React Native module for target spotter-macOS: RNCAsyncStorage
Analyzing dependencies
Fetching podspec for DoubleConversion from ../node_modules/react-native-macos/third-party-podspecs/DoubleConversion.podspec
Fetching podspec for RCT-Folly from ../node_modules/react-native-macos/third-party-podspecs/RCT-Folly.podspec
Fetching podspec for boost-for-react-native from ../node_modules/react-native-macos/third-party-podspecs/boost-for-react-native.podspec
Fetching podspec for glog from ../node_modules/react-native-macos/third-party-podspecs/glog.podspec
Downloading dependencies
Installing DoubleConversion (1.1.6)
Installing FBLazyVector (0.62.16)
Installing FBReactNativeSpec (0.62.16)
Installing Magnet (3.2.0)
Installing RCT-Folly (2018.10.22.00)
Installing RCTRequired (0.62.16)
Installing RCTTypeSafety (0.62.16)
Installing RNCAsyncStorage (1.13.2)
Installing React (0.62.16)
Installing React-Core (0.62.16)
Installing React-CoreModules (0.62.16)
Installing React-RCTActionSheet (0.62.16)
Installing React-RCTAnimation (0.62.16)
Installing React-RCTBlob (0.62.16)
Installing React-RCTImage (0.62.16)
Installing React-RCTLinking (0.62.16)
Installing React-RCTNetwork (0.62.16)
Installing React-RCTSettings (0.62.16)
Installing React-RCTText (0.62.16)
Installing React-RCTVibration (0.62.16)
Installing React-cxxreact (0.62.16)
Installing React-jsi (0.62.16)
Installing React-jsiexecutor (0.62.16)
Installing React-jsinspector (0.62.16)
Installing ReactCommon (0.62.16)
Installing Sauce (2.1.0)
Installing ShellOut (2.0.0)
Installing Yoga (1.14.0)
Installing boost-for-react-native (1.63.0)
Installing glog (0.3.5)
[!] /bin/bash -c
set -e
#!/bin/bash

Copyright (c) Facebook, Inc. and its affiliates.

This source code is licensed under the MIT license found in the

LICENSE file in the root directory of this source tree.

set -e

PLATFORM_NAME="${PLATFORM_NAME:-iphoneos}"
CURRENT_ARCH="${CURRENT_ARCH}"

if [ -z "$CURRENT_ARCH" ] || [ "$CURRENT_ARCH" == "undefined_arch" ]; then
# Xcode 10 beta sets CURRENT_ARCH to "undefined_arch", this leads to incorrect linker arg.
# it's better to rely on platform name as fallback because architecture differs between simulator and device

if [[ "$PLATFORM_NAME" == *"simulator"* ]]; then
    CURRENT_ARCH="x86_64"
else
    CURRENT_ARCH="armv7"
fi

fi

export CC="$(xcrun -find -sdk $PLATFORM_NAME cc) -arch $CURRENT_ARCH -isysroot $(xcrun -sdk $PLATFORM_NAME --show-sdk-path)"
export CXX="$CC"

Remove automake symlink if it exists

if [ -h "test-driver" ]; then
rm test-driver
fi

./configure --host arm-apple-darwin

Fix build for tvOS

cat << EOF >> src/config.h

/* Add in so we have Apple Target Conditionals */
#ifdef APPLE
#include <TargetConditionals.h>
#include <Availability.h>
#endif

/* Special configuration for AppleTVOS */
#if TARGET_OS_TV
#undef HAVE_SYSCALL_H
#undef HAVE_SYS_SYSCALL_H
#undef OS_MACOSX
#endif

/* Special configuration for ucontext */
#undef HAVE_UCONTEXT_H
#undef PC_FROM_UCONTEXT
#if defined(x86_64)
#define PC_FROM_UCONTEXT uc_mcontext->__ss.__rip
#elif defined(i386)
#define PC_FROM_UCONTEXT uc_mcontext->__ss.__eip
#endif
EOF

Prepare exported header include

EXPORTED_INCLUDE_DIR="exported/glog"
mkdir -p exported/glog
cp -f src/glog/log_severity.h "$EXPORTED_INCLUDE_DIR/"
cp -f src/glog/logging.h "$EXPORTED_INCLUDE_DIR/"
cp -f src/glog/raw_logging.h "$EXPORTED_INCLUDE_DIR/"
cp -f src/glog/stl_logging.h "$EXPORTED_INCLUDE_DIR/"
cp -f src/glog/vlog_is_on.h "$EXPORTED_INCLUDE_DIR/"

checking for a BSD-compatible install... /usr/local/bin/ginstall -c
checking whether build environment is sane... yes
checking for arm-apple-darwin-strip... no
checking for strip... strip
checking for a thread-safe mkdir -p... /usr/local/bin/gmkdir -p
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for arm-apple-darwin-gcc... /Library/Developer/CommandLineTools/usr/bin/cc -arch armv7 -isysroot
checking whether the C compiler works... no
xcrun: error: SDK "iphoneos" cannot be located
xcrun: error: SDK "iphoneos" cannot be located
xcrun: error: SDK "iphoneos" cannot be located
xcrun: error: unable to lookup item 'Path' in SDK 'iphoneos'
/Users/MatiasGotz/Library/Caches/CocoaPods/Pods/External/glog/2263bd123499e5b93b5efe24871be317-d86cb/missing: Unknown --is-lightweight' option Try /Users/MatiasGotz/Library/Caches/CocoaPods/Pods/External/glog/2263bd123499e5b93b5efe24871be317-d86cb/missing --help' for more information
configure: WARNING: 'missing' script is too old or missing
configure: error: in /Users/MatiasGotz/Library/Caches/CocoaPods/Pods/External/glog/2263bd123499e5b93b5efe24871be317-d86cb': configure: error: C compiler cannot create executables See config.log' for more details

npm ERR! code 1
npm ERR! path /Users/MatiasGotz/spotter
npm ERR! command failed
npm ERR! command sh -c cd ./macos && pod install

npm ERR! A complete log of this run can be found in:
npm ERR! /Users/MatiasGotz/.npm/_logs/2021-01-03T22_50_50_680Z-debug.log`

App Icons Missing for apps in ~/Applications

If an application resides in ~/Applications, it will show a blank document icon for the Apps icon

Screen Shot 2021-04-22 at 5 18 05 PM

But Applications in /Applications show up fine

Screen Shot 2021-04-22 at 5 18 35 PM

Spotter 1.0.3 & 1.0.4, MacOS Big Sur 11.2.3

Crash when spotter.app is opened

Installed on macOS 10.15.7 using the GitHub release of v0.0.4

Found this in Console.app

*** Terminating app due to uncaught exception 'RCTFatalException: Unhandled JS Exception: Native module cannot be null.', reason: 'Unhandled JS Exception: Native module cannot be null., stack:
NativeEventEmitter@2939:18
<unknown>@67528:54
loadModuleImplementation@262:14
<unknown>@67269:26
loadModuleImplementation@262:14
<unknown>@64839:25
loadModuleImplementation@262:14
<unknown>@64757:14
loadModuleImplementation@262:14
<unknown>@4158:31
loadModuleImplementation@262:14
<unknown>@1021:14
loadModuleImplementation@262:14
<unknown>@1014:14
loadModuleImplementation@262:14
guardedLoadModule@150:47
global code@112780:4
'
*** First throw call stack:
(
	0   CoreFoundation                      0x00007fff386e9b57 __exceptionPreprocess + 250
	1   libobjc.A.dylib                     0x00007fff715355bf objc_exception_throw + 48
	2   spotter                             0x0000000100b5b490 RCTFormatError + 0
	3   spotter                             0x0000000100be5137 -[RCTExceptionsManager reportFatal:stack:exception<…>

Open Finder with spotter

Version: 0.0.4
OS: macOS Big Sur Version 11.1
Device: MacBook Air (Retina, 13-inch, 2018)

Installed via brew cask

Finder isn't considered an App (as an Application stored in "/Applications" and is located here: "/System/Library/CoreServices".
To launch Finder.app via spotter and therefore use it as a full replacement of spotlight, this folder (or just the finder app) should be added to "appdir".

"Finder.app" isn't executable via spotter

Error while opening the app

When I tried to enter to the app i got an error,
Captura de Pantalla 2020-11-24 a la(s) 09 01 47
To fixit, you can do:

chmod +x "/Applications/Spotter.app/Contents/MacOS/Spotter"
(this if your app is in Applications folder, you can change the starting directory, for example)
chmod +x "/Desktop/Spotter.app/Contents/MacOS/Spotter"

Some apps aren't showing in Spotter?

Nested apps inside folders in Applications dir aren't showing, at least for me. Not sure if this is a Spotlight thing or is this a bug with Spotter not picking up nested apps?
Screen Shot 2021-02-28 at 9 50 48 PM

Appreciate all your hard work ❀️

Visual glitch in Catalina

The screenshot shows a dark gray color (dark mode), however the actual color was transparent and showing the background color instead. Only the shadow border indicated that something is wrong. Also, during that time it appeared to be lagging. At some point the menu bar icon did disappear while the app was still running. And clicking the three dots to show more results was also not possible. After a relaunch of the app the three dots were clickable again, however the transparent window frame is still omnipresent.

screen

Dictionary plugin πŸ“š

Would love to see a dictionary lookup similar to Spotlight. But unlike Spotlight, one that actually works and respects my own dictionary file. Spotlight always searches in all dictionaries instead of the one I would like it use. Oh, and would be nice if it would use system and user dictionaries (~/Library/Dictionaries/).

No search results *Major Bug* (v1.0.0)

The latest stable release v1.0.0 has inaccurate search results, no applications nor nested items e.g. Photoshop/Illustrator inside a folder in Applications directory are showing. No search results 😦

Mathematical chaining does not work

This should output the same that Alfred does, and it should also work so that if we type a trailing = it will output the value like Alfred does.

Screen Shot 2021-02-25 at 3 26 06 PM

Is there any easy way or even a plugin to run a command on spotter as if I was on the command line?

Hi,

First, thanks for the awesome app. πŸ‘

I've looking for an alternative app to dmenu for MacOS and I haven't found one good enough. I was wondering whether there is a plugin to run a command on spotter as if I was on the command line... For example, lets suppose I want to count number of files under /tmp/, I could go to the command line and type:

find /tmp/ -mindepth 1 -maxdepth 1 -type f | wc -l

but that process is very time consuming. I always have a terminal window around, but still. It would be nice to type that kind of one-line commands on spotter and then get the result on spotter as well.

--
Best,
Jose

bug in latest beta (when you click on a result, Spotter app closes)

e.g. when I click on the calculator result, the Spotter app will close

Screen Shot 2021-03-04 at 10 55 54 AM

Also there is another bug - if I type the = equal sign, it should take the answer and replace the input area with the answer (like Alfred does). so if I type 2+2 the moment I type = sign afterwards, e.g. typing 2+2=, the input should change to 4.

Basic Questions: Is this a CLI app or is there a UI component? Crossplatform?

Hi Team,

Just had some basic questions for you as this seems interesting, but I'm not sure on a few things yet.

  1. Is this a cli application? Or does it open a spotlight / alfred like command palette? A screenshot in the readme would be very helpful!
  2. I know MacOS / xcode / etc is mentioned often in the readme, but seeing as its a react native application I wasn't sure if it would also run on Linux. Maybe clarify the platform support in the readme as well?

Anyway thanks for your hard work!

Visual issue

There's a visual issue when the search box is in focus where the list is one pixel smaller than the spotter main window.

App in focus

App not in focus

Emoji finder plugin 🀍

Provides a keyword search for emoji and allows to copy them to the clipboard

Example queries:

  • e coding -> πŸ–₯️, πŸ‘¨β€πŸ’»οΈ, ⌨️
  • e fun -> πŸŽ‰, 🎈, πŸ˜‚, 🍻, ...

Issues

I found a list of issues that i will also try to fix:

  1. The app at the start opens in the left corner
  2. It cant find apps in the Utilities folder
  3. If the items list was long, it somethimes appears upper than ususal when you activate it again
  4. (Idk if this is intencional) When you click outside the app it doesn't hide
  5. If the app can't find what you looked for it closes

Wrong version number in latest release

Hello - I just noticed that the 1.0.1 download contains version 1.0.0 instead of 1.0.1

info.plist:

	<key>CFBundleShortVersionString</key>
	<string>1.0.0</string>
…
	<key>CFBundleVersion</key>
	<string>1</string>

Screen Shot 2021-03-20 at 19 25 51

Division doesn't work

Version: 0.0.4
OS: macOS Big Sur Version 11.1
Device: MacBook Air (Retina, 13-inch, 2018)

Installed via brew cask

When trying to divide in spotter, the app doesn't output anything.
4 diveded by 2 (doens't work)

Basic math functions working:
2 times 3 (works just fine)

βš™οΈ Settings

  • Implement a checkbox to check if the application will open automatically
  • Disabling individual plugins
  • Make applications paths configurable

Spotter 1.0.2 does not launch other apps

Hello there,

yesterday I updated Spotter to 1.0.2 using Homebrew and since then no option comes out when I type <app-name>. Until the last update, I could launch any app from there (as Alfred does). Is this happening to anyone else?

Thank you for your job!

release is damaged

Hello,

I downloaded spotter from brew with brew install --cask spotter and also tried to download release 1.0.0 here from github.
When I open spotter it opens a dialog:

Screen Shot 2021-03-15 at 18 32 20

The steps listed under Troubleshoot, doesn't help.

  • Big Sur 11.2.3

Edit:

  • Version 1.0.0-beta.4 works

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.