Skip to content

[WIP] Flowify is a drag-and-drop environment for creating Spotify playlist generation workflows. With Flowify, you can create custom workflows to generate playlists based on your Spotify library, liked tracks, and recommendations.

Notifications You must be signed in to change notification settings

radityaharya/flowify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Flowify✨

Flowify is currently under development. Do not use it with your Primary Spotify account as it may cause data loss.

Overview

Flowify is a drag-and-drop environment for creating Spotify playlist generation workflows. With Flowify, you can create custom workflows to generate playlists based on your Spotify library, liked tracks, and recommendations. Flowify is built with React Flow as the workflow builder, bull-mq for queuing, shadcn/ui for components, Drizzle as ORM

Flowify is heavily inspired by SmarterPlaylists and Goofy. Flowify aims to provide a modern and intuitive alternative to SmarterPlaylists, while also providing a more flexible and powerful alternative to Goofy.

Preview of Flowify Workflow Builder

Features

  • Intuitive Workflow Design: Create complex playlist generation workflows effortlessly with ReactFlow's drag-and-drop visual interface.
  • Versatile Workflow Modules: Choose from a variety of modules such as filters, combiners, orders, and library actions to build custom workflows.
  • Scheduled Workflows: Schedule workflows to run at a specific time or on a recurring basis. (WIP)
  • Share Workflows: Share workflows with other users. (WIP)

Workflow Modules

Filter
  • Filter by Key-Value Pair
  • Deduplicate Tracks
  • Deduplicate Artists
  • Match Key-Value Pair
  • Limit Tracks
Combiner
  • Push Tracks
  • Alternate Tracks
Order
  • Sort Tracks by Key
  • Shuffle Tracks
Selector
  • First N Tracks
  • Last N Tracks
  • Random N Tracks
  • All but First N Tracks
  • All but Last N Tracks
  • Recommended Tracks (Using Spotify Recommendations API)
Library - Get Liked Tracks - Save Playlist as New - Save Playlist by Appending - Save Playlist by Replacing
Playlist - Search and use existing playlists

More modules coming soon 👀

Running Locally

To get started with Flowify, follow these steps:

  1. Installation:

     git clone https://github.com/radityaharya/flowify
      cd flowify
      npm install
  2. Run Redis: Start a Redis server. You can download and install Redis from the official website. Alternatively, you can use a cloud service such as Railway or Upstash. Redis is used for queueing and caching.

  3. Set Up Database: Create a Postgres database and set the DATABASE_URL environment variable. You can use a local Postgres instance or a cloud service such as Neon. Flowify uses Drizzle as the ORM.

  4. Set Up Spotify API: Create a Spotify developer account and create a new application. You can find instructions on how to do this here. Keep the client ID and client secret handy.

  5. Set Up Environment Variables: Create a .env file in the root directory and add the following variables:

    Variable Description
    DATABASE_URL Postgres connection string
    AUTH_SECRET NextAuth secret key
    AUTH_URL NextAuth application URL
    SPOTIFY_CLIENT_ID Spotify API client ID
    SPOTIFY_CLIENT_SECRET Spotify API client secret
    REDIS_URL Redis connection URL
  6. Push the schema to your database:

    npm run db:push
  7. Run the Application:

    npm run dev
  8. Open Flowify: Open your browser and go to http://localhost:3000.

Disclaimer

Flowify is an independent project, developed with the intention of serving as an educational tool, for personal use, and as a hosted service. It is important to clarify that Flowify is not affiliated with, endorsed by, or in any way officially connected with Spotify AB, or any of its subsidiaries or its affiliates.

The images utilized in this project are sourced directly from Spotify's Content Delivery Network (CDN) via the Spotify Web API. These images are not modified or altered in any way by this project, and remain the property of their respective copyright holders.

For official Spotify services, please visit the official Spotify website at https://www.spotify.com. Please be aware that Spotify is a registered trademark of Spotify AB.

The author of Flowify makes no representations or warranties of any kind, express or implied, about the completeness, accuracy, reliability, suitability, or availability of the content of this project or the hosted service. The author will not be liable for any errors or omissions in this information nor for the availability of this information. The author will not be liable for any losses, or damages from the display or use of this information or the hosted service, whether they be direct, indirect, incidental, special, consequential or other forms of damages.

The hosted service is provided "as is" and on an "as available" basis, with no guarantees of uptime or reliability. The author is not responsible for any data loss or damage that may occur from the use of the hosted service.

The author respects the privacy of users and takes data security seriously. However, the author cannot guarantee the security of any data transmitted to the hosted service and is not responsible for any breach of security or for the actions of any third parties that may obtain any personal information.

By using the hosted service, you agree to accept all risks associated with the use of the service and agree not to hold the author liable for any issues, losses, or damages that may arise from its use.

About

[WIP] Flowify is a drag-and-drop environment for creating Spotify playlist generation workflows. With Flowify, you can create custom workflows to generate playlists based on your Spotify library, liked tracks, and recommendations.

Topics

Resources

Stars

Watchers

Forks

Packages