Skip to content

apoleon33/cradle

Repository files navigation

GitHub Release GitHub License

Install

Please download the latest version here.

Also if you want (or if you have an apple product) you can build cradle by yourself.

Build instructions

Assuming you have flutter as well as all the sdks and toolchains working on your pc.

clone the repository and cd onto it

git clone https://github.com/apoleon33/cradle.git
cd cradle

Get dependencies

flutter pub get

Register to LastFM's API

To get LastFM's api working, you need to get an API key, by filling up this forms. Once it's done, create a file at lib/env/ named env.dart, and write inside of it the following lines:

const LASTFM_KEY = 'yourLastFMKey';

Setup should now be completed.

Build

For android

Build an apk

flutter build apk

Build an app bundle

flutter build appbundle

For IOS

I don't know. Following the flutter guide may work. If you arrive to make it work, please feel free to fill an issue or a pull request if changes are needed.

Other targets

According to flutter concerning the flutter build command:

Build an executable app or install bundle.

Available subcommands:
  aar         Build a repository containing an AAR and a POM file.
  apk         Build an Android APK file from your app.
  appbundle   Build an Android App Bundle file from your app.
  bundle      Build the Flutter assets directory from your app.
  linux       Build a Linux desktop application.
  web         Build a web application bundle.

TODO-LIST

  • better algorithm
  • always accurate cover & links
  • deactivate spotify link if it does not exist
  • app theme based on today's record
  • working buttons
    • link to spotify
    • see more (...)
      • Share
      • View in full page
    • group as list/as card
    • top left menu replaced by a bottom bar
    • short RYM description
  • widget postponed
  • notification 1/day postponed
  • settings
    • Theme mode
    • change music provider
      • Spotify
      • Apple music
      • Deezer
  • Material app logo
  • github banner on settings
  • better large screen handling
  • listened to/ not listened to button
  • new icon
  • banner on readme
  • put images in cache
  • one single per day too