in ,

kasper / phoenix, Hacker News

kasper / phoenix, Hacker News
                    

        

Build Status

)

A lightweight macOS window and app manager scriptable with JavaScript. You can also easily use languages ​​which compile to JavaScript such as CoffeeScript. Phoenix aims for efficiency and a very small footprint. If you like the idea of ​​scripting your own window or app management toolkit with JavaScript, Phoenix is ​​probably going to give you the things you want. With Phoenix you can bind keyboard shortcuts and system events, and use these to interact with macOS.

~ / .phoenix.js - the file will be created when you launch Phoenix for the first time. Alternatively - if you prefer - you may also have your script in ~ / Library / Application Support / Phoenix / phoenix.js or ~ / .config / phoenix / phoenix.js For ideas, see what other people have built in their configurations in the Wiki . Feel free to add your own configuration to the Wiki to show other people the nice things you can do. Previous configurations (

in Xcode. Install Xcode from the App Store, if you do not already have it installed. You will also need Xcode command line tools - you will be prompted for this. Everything else should work as is - you can develop, debug, test, build and run Phoenix straight from Xcode.

To install Phoenix from the source, you will need to build the workspace from a terminal:

xcodebuild -workspace Phoenix.xcworkspace            -scheme Phoenix            -configuration Release            SYMROOT="$ PWD / build /"            clean build

Once complete, you will find a newly built Phoenix app in build / Release / . After this, you can follow the normal install guide.

Phoenix manages dependencies with CocoaPods . Note that you do not need CocoaPods for basic development. However, if you want to install new pods or update existing ones, you will also need:

Ruby (2.7.0 or higher), it is recommended that you manage Ruby versions with for instance (rbenv) Bundler

  • CocoaPods

    Install Bundler, if you do not already have it installed. To install CocoaPods and its dependencies, use Bundler inside the phoenix – directory to install the required Ruby gems according to the (Gemfile Phoenix . Once complete, you can install the pods listed in the Podfile with CocoaPods.

    gem install bundler bundle install pod install

    In addition to the Objective-C core, Phoenix also uses a JavaScript-based (5.1) library to implement additional features to the API. The minified library is included in the repository in Phoenix / phoenix-min.js so that everything works as is. However, if you want to develop features for this library, you will also need:

    (Node.js ) (25. 6.0 or higher)

    Install the development packages listed in package.json .

    npm install

    To build phoenix-min.js

    from the source, run the command npm run build in the root directory. NPM will then build the source from library / src /

    and install the new library to Phoenix / phoenix-min.js . For convenience, this is also handled automatically by Xcode when you build Phoenix.

    Feel free to contribute to this project by creating issues, pull requests and editing the Wiki. See the .

    If you have any questions, feedback or just want to say hi, you can open an issue, (email

  • or . Thanks

    Phoenix is ​​currently developed by Kasper Hirvikoski ( @ kasper and Jason Milkins with the generous help of contributions made by many individuals . It was originally authored by Steven Degutis ( @ sdegutis as a fork of Zephyros – also an app of his. As it stands now, it has been rewritten from the ground up by Kasper Hirvikoski.

        License

        Released under the MIT License. See license .

            

    (Read More)

    What do you think?

    Leave a Reply

    Your email address will not be published. Required fields are marked *

    GIPHY App Key not set. Please check settings

    Coronavirus: how could it be stopped? – BBC Newsnight – BBC Newsnight, Youtube.com

    Coronavirus: how could it be stopped? – BBC Newsnight – BBC Newsnight, Youtube.com

    firmai / pandapy, Hacker News

    firmai / pandapy, Hacker News