Skip to content

thealexgraham/slack-composer

master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
src
 
 
 
 
 
 
 
 
 
 
 
 

slack-composer

slack-composer is a Slack bot for creating and sharing AI music using the Amper API.

Built to deploy on a Heroku instance using the following buildpack:

https://github.com/thealexgraham/heroku-buildpack-ghc

To deploy, set an environment variable called API_KEY to your Amper API key and push the app to Heroku. If you would like to store the compositional information for later use, you can add the optional DATABASE_URL as a third argument (see Procfile).

To run in another environment, run the amperbot executable with the following arguments:

slack-composer --port {PORT} --api-key {API_KEY} --database {DATABASE_URI}

To set up the Slack bot, create an app with a slash command that points to https://your-url.com/compose.

Note: This is a personal project and is not affliated officially with Amper Music. All code in this project was written independantly based off of publicly available information from http://docs.ampermusic.com/.

About

A Slackbot that uses the Amper Music API to generate and share customized AI music, written in Haskell using the Servant library

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published