{"id":19176598,"url":"https://github.com/livenl/spotify-tmux-applescript","last_synced_at":"2026-05-18T03:35:42.239Z","repository":{"id":149381763,"uuid":"614729062","full_name":"LiveNL/spotify-tmux-applescript","owner":"LiveNL","description":"To show the current playing artist and track in your tmux statusbar.","archived":false,"fork":false,"pushed_at":"2023-03-16T22:19:59.000Z","size":6,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-10T10:37:22.155Z","etag":null,"topics":["applescript","macos","osascript","shell","spotify","tmux"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/LiveNL.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-03-16T07:41:44.000Z","updated_at":"2023-05-23T06:50:07.000Z","dependencies_parsed_at":null,"dependency_job_id":"da6ea1d8-d846-48ad-9971-2a7d82e7140d","html_url":"https://github.com/LiveNL/spotify-tmux-applescript","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/LiveNL/spotify-tmux-applescript","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LiveNL%2Fspotify-tmux-applescript","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LiveNL%2Fspotify-tmux-applescript/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LiveNL%2Fspotify-tmux-applescript/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LiveNL%2Fspotify-tmux-applescript/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LiveNL","download_url":"https://codeload.github.com/LiveNL/spotify-tmux-applescript/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LiveNL%2Fspotify-tmux-applescript/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33163779,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-17T22:39:12.733Z","status":"online","status_checked_at":"2026-05-18T02:00:06.436Z","response_time":71,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["applescript","macos","osascript","shell","spotify","tmux"],"created_at":"2024-11-09T10:29:14.038Z","updated_at":"2026-05-18T03:35:42.209Z","avatar_url":"https://github.com/LiveNL.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n\u003cimg width=\"500\" alt=\"spotify-track-artist\" src=\"https://user-images.githubusercontent.com/5443727/225764942-8ed7d5bc-3bf8-4f3e-94e6-7c788ee7058d.png\"\u003e\n\n\nTo show the artist and name of the current playing track on Spotify in your [tmux](https://github.com/tmux/tmux) status bar.\n\nNot the first tmux/spotify code. But an attempt to be as simple as possible.\n\n## Requirements\n\n- macOS (as we use applescript)\n- Spotify\n\n## Installation\n\n1. Clone this repository\n2. `cd` into the root of repository-folder\n3. Run the install script:\n\n\u003e The install script will add the code that acutally adds the output of the spotify-script to your status-bar.\n\n```bash\n./bin/install.sh\n```\n\n4. When you start playing a song on spotify, it should now show in tmux!\n\n---\n\n### (Install) options\n\n`--filename`: Use parameter to specify the name of the file the code should be added to. Default ~/.tmux.conf.\"\n\n`--with-datetime`: Add datetime info to your statusbar. Default false\"\n\n\n### Customization\n\nIf you want to change the code related that generates the name of the track and artist, please alter `bin/spotify_artist_and_track.applescript`\n\nMore spotify commands can be found here: `/Applications/Spotify.app/Contents/Resources/Spotify.sdef`\n\n\n### Applescript syntax highlighting in nvim\n\nTo get syntax highlighting for applescript (in nvim + lua):\n\n1. Download the syntax file for applescript here: https://www.vim.org/scripts/script.php?script_id=1736\n2. Add it to the syntax folder for your nvim runtime. You can find the location by executing the following command in nvim.\n\n```\n:echo $VIMRUNTIME . '/syntax'\n```\n\n3. Make sure nvim recognises the filetype by adding the following to a lua script file that is used (for example `init.lua`)\n\n```lua\nvim.filetype.add({\n\textension = {\n\t\tapplescript = \"applescript\",\n\t},\n})\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flivenl%2Fspotify-tmux-applescript","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flivenl%2Fspotify-tmux-applescript","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flivenl%2Fspotify-tmux-applescript/lists"}