Coder Social home page Coder Social logo

slacktunes's Introduction

Slacktunes

๐ŸŽต Send what you're playing on iTunes to Slack.

This project is a continuation of the awesome Playing project by @uiureo.

Currently works only in OSX/MacOS, but I'm working on a Windows version.

Installation

Download the latest version of zip from here and launch it.

https://github.com/snipe/playing/releases

Usage

Add an Incoming Webhook and get a Webhook URL.

https://slack.com/services/new/incoming-webhook

Launch settings menu from the menubar and paste it to the form.

Your current track will be pushed into a slack channel of your choosing.

License

ISC

Building

This is only for developers who want to work on this project. Regular users should not do any of this.

This project is packaged using electron-packager. (For a great snapshot of how to get your environment set up for electron-packager and run your first build, check out this tutorial.)

Electron Packager is a command line tool and Node.js library that bundles Electron-based application source code with a renamed Electron executable and supporting files into folders ready for distribution.

This is a messy process fraught with perils, but if you're packaging from a MacOS computer for Windows, you'll need homebrew and wine installed. (Good luck with that. Yeesh.)

Install all of the node libraries locally, so we can build the package:

npm install

MacOS:

electron-packager . Slacktunes --platform=darwin --arch=x64 --icon=./Icon.icns --prune=true --out=release-builds --overwrite

Windows - NOT WORKING:

You'll need both wine and mono to build windows releases on a Mac.

electron-packager . Slacktunes --overwrite --platform=win32 --arch=ia32 --prune=true --out=release-builds --version-string.CompanyName=Grokability --version-string.FileDescription=Grokabilty --version-string.ProductName="Slacktunes"

This will create a directory with all of the generated .dll files and an .exe file. In order to actually ship this though, you'll need to run electron-installer-windows after renaming the Windows directory in release-builds to SlacktunesWindows (due to a bug in Squirrel.Windows.)

electron-installer-windows --src release-builds/SlacktunesWindows/ --dest dist/installers/  --config windows-config.json

Now go for a walk. No, seriously. This will take approximately nine billion years to complete.

This process could potentially be made less miserable with electron-forge, but my first attempts at using it resulting in black-holing about 5 hours of my life.

Thanks

Many thanks go to @uiureo for starting this project years ago.

slacktunes's People

Contributors

snipe avatar

Watchers

 avatar  avatar

slacktunes's Issues

Weekly Digest (7 February, 2019 - 14 February, 2019)

Here's the Weekly Digest for snipe/slacktunes:


ISSUES

Last week, no issues were created.


PULL REQUESTS

Last week, no pull requests were created, updated or merged.


COMMITS

Last week there were no commits.


CONTRIBUTORS

Last week there were no contributors.


STARGAZERS

Last week there were no stargazers.


RELEASES

Last week there were no releases.


That's all for last week, please ๐Ÿ‘€ Watch and โญ Star the repository snipe/slacktunes to receive next weekly updates. ๐Ÿ˜ƒ

You can also view all Weekly Digests by clicking here.

Your Weekly Digest bot. ๐Ÿ“†

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.