iOS应用程序和小部件,用于查看您的Spotify朋友正在收听的内容。纯粹用 SwiftUI 制作
Spotify的好友活动
iOS应用程序和小部件,用于查看您的Spotify朋友正在收听的内容。纯粹是用SwiftUI制作的。
观看您的朋友正在收听的内容并将其添加到您的主屏幕。点击每个朋友以在 Spotify 应用程序/网站中打开播放列表/专辑/艺术家/歌曲。
Private profile pictures and names of friends removed in above screenshots.
Features:
- Dynamically update list of friends in homescreen (every 2 minutes, smooth animations)
- UI is the same as the official Spotify desktop UI, but remodeled to work on mobile (context menu instead of links)
- Pure SwiftUI, efficient and fast
- Pull to refresh
- Context menu beneath each friend, letting you pick which song/album/artist to open in Spotify
- Airplane mode detection
- Enables login through official Spotify website (cookies are read and stored)
- Cookies stored securely in Keychain
- Widget automatically updates every 15 minutes (watch your friends’ Spotify activity from your homescreen!)
- iPad & macOS Catalyst support (rudimentary)
- Friend profile pictures stored in cache and loaded asynchronously (using NukeUI)
In beta right now, hence debug and errors can be seen everywhere
Installation:
- Open in Xcode
Credits:
- @Apple for Swift and SwiftUI
- @JulietaUla for the Montesrrat font (used extensively within the app)
- @kishikawakatsumi for KeychainAccess (for storing spDcCookie and accessToken of Spotify securely between app and widget)
- @markiv for SwiftUI-Shimmer for the shimmer animation of first load of homescreen
- @kean for Nuke (used to display images asynchronously in Widget and app)
- @Sketch for Sketch (for designing the app icon)
- @valeriangalliat for spotify-buddylist (pseudocode taken from here)