Skip to content

Commit cfe58b9

Browse files
committed
c2 initial
1 parent 25aad5a commit cfe58b9

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+2084
-574
lines changed

.gitignore

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# Logs
2+
logs
3+
*.log
4+
npm-debug.log*
5+
yarn-debug.log*
6+
yarn-error.log*
7+
pnpm-debug.log*
8+
lerna-debug.log*
9+
10+
node_modules
11+
dist
12+
dist-ssr
13+
*.local
14+
15+
# Editor directories and files
16+
.vscode/*
17+
!.vscode/extensions.json
18+
.idea
19+
.DS_Store
20+
*.suo
21+
*.ntvs*
22+
*.njsproj
23+
*.sln
24+
*.sw?

.vscode/extensions.json

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"recommendations": ["Vue.volar"]
3+
}

LICENSE

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2024 Cider Collective
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

README.md

+27-3
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,38 @@
22
<img src="https://user-images.githubusercontent.com/49113086/154792471-5dc5dc9a-877b-40b6-b46c-797783078e8a.png" style="width: 600px;"/>
33
</div>
44

5-
# Butterchurn Visualizer Plugin for [Cider](https://github.com/ciderapp/Cider)
5+
# Butterchurn Visualizer Plugin for [Cider](https://cider.sh/)
66

7-
**Requires Advanced Audio Functionality Enabled**
7+
**Requires Cider Audio Enabled**
8+
9+
## Available Commands
10+
- `npm run dev` - Start development server, Cider can then listen to this server when you select "Enable Vite" from the main menu
11+
- `npm run build` - Build the plugin to `dist/dev.booploops.butterchurn-visualizer/`
12+
13+
## How to install after build
14+
- Copy the `dist/dev.booploops.butterchurn-visualizer/` folder to the `/plugins` directory of your Cider app data directory
15+
- On Windows, this is `%APPDATA%\C2Windows\plugins`
16+
- On macOS, this is `~/Library/Application Support/sh.cider.electron/plugins`
17+
- On Linux, this is `~/.config/sh.cider.electron/plugins`
818

919
## More Information
10-
For more information on how to build your own plugin check out: https://github.com/ciderapp/Cider/wiki/Plugin-Development
20+
21+
For more information on how to build your own plugin check out: https://github.com/ciderapp/plugin-template-wip
22+
23+
## Technical Information
24+
25+
This plugin has been ported from Apple Music Electron to Cider 1.x to Cider 2.x.
26+
27+
The code around this is of *questionable* quality. Mainly ported as proof of concept but will be improved over time as the Cider Plugin API and this plugin matures. As most of the code is a straight import from a JS only project a lot of TS rules have been disabled.
28+
29+
## Future Goals
30+
- Change the configuration UI to use a Vue Web Component
31+
- Properly register as an Immersive backdrop instead of overlaying on top of the existing one
32+
- Integrate properly with the Butterchurn NPM package
33+
1134

1235
## Credits
36+
1337
Butterchurn: https://github.com/jberg/butterchurn
1438

1539
Butterchurn Presets: https://github.com/jberg/butterchurn-presets

auto-imports.d.ts

+66
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
/* eslint-disable */
2+
/* prettier-ignore */
3+
// @ts-nocheck
4+
// noinspection JSUnusedGlobalSymbols
5+
// Generated by unplugin-auto-import
6+
export {}
7+
declare global {
8+
const EffectScope: typeof import('vue')['EffectScope']
9+
const computed: typeof import('vue')['computed']
10+
const createApp: typeof import('vue')['createApp']
11+
const customRef: typeof import('vue')['customRef']
12+
const defineAsyncComponent: typeof import('vue')['defineAsyncComponent']
13+
const defineComponent: typeof import('vue')['defineComponent']
14+
const effectScope: typeof import('vue')['effectScope']
15+
const getCurrentInstance: typeof import('vue')['getCurrentInstance']
16+
const getCurrentScope: typeof import('vue')['getCurrentScope']
17+
const h: typeof import('vue')['h']
18+
const inject: typeof import('vue')['inject']
19+
const isProxy: typeof import('vue')['isProxy']
20+
const isReactive: typeof import('vue')['isReactive']
21+
const isReadonly: typeof import('vue')['isReadonly']
22+
const isRef: typeof import('vue')['isRef']
23+
const markRaw: typeof import('vue')['markRaw']
24+
const nextTick: typeof import('vue')['nextTick']
25+
const onActivated: typeof import('vue')['onActivated']
26+
const onBeforeMount: typeof import('vue')['onBeforeMount']
27+
const onBeforeUnmount: typeof import('vue')['onBeforeUnmount']
28+
const onBeforeUpdate: typeof import('vue')['onBeforeUpdate']
29+
const onDeactivated: typeof import('vue')['onDeactivated']
30+
const onErrorCaptured: typeof import('vue')['onErrorCaptured']
31+
const onMounted: typeof import('vue')['onMounted']
32+
const onRenderTracked: typeof import('vue')['onRenderTracked']
33+
const onRenderTriggered: typeof import('vue')['onRenderTriggered']
34+
const onScopeDispose: typeof import('vue')['onScopeDispose']
35+
const onServerPrefetch: typeof import('vue')['onServerPrefetch']
36+
const onUnmounted: typeof import('vue')['onUnmounted']
37+
const onUpdated: typeof import('vue')['onUpdated']
38+
const provide: typeof import('vue')['provide']
39+
const reactive: typeof import('vue')['reactive']
40+
const readonly: typeof import('vue')['readonly']
41+
const ref: typeof import('vue')['ref']
42+
const resolveComponent: typeof import('vue')['resolveComponent']
43+
const shallowReactive: typeof import('vue')['shallowReactive']
44+
const shallowReadonly: typeof import('vue')['shallowReadonly']
45+
const shallowRef: typeof import('vue')['shallowRef']
46+
const toRaw: typeof import('vue')['toRaw']
47+
const toRef: typeof import('vue')['toRef']
48+
const toRefs: typeof import('vue')['toRefs']
49+
const toValue: typeof import('vue')['toValue']
50+
const triggerRef: typeof import('vue')['triggerRef']
51+
const unref: typeof import('vue')['unref']
52+
const useAttrs: typeof import('vue')['useAttrs']
53+
const useCssModule: typeof import('vue')['useCssModule']
54+
const useCssVars: typeof import('vue')['useCssVars']
55+
const useSlots: typeof import('vue')['useSlots']
56+
const watch: typeof import('vue')['watch']
57+
const watchEffect: typeof import('vue')['watchEffect']
58+
const watchPostEffect: typeof import('vue')['watchPostEffect']
59+
const watchSyncEffect: typeof import('vue')['watchSyncEffect']
60+
}
61+
// for type re-export
62+
declare global {
63+
// @ts-ignore
64+
export type { Component, ComponentPublicInstance, ComputedRef, ExtractDefaultPropTypes, ExtractPropTypes, ExtractPublicPropTypes, InjectionKey, PropType, Ref, VNode, WritableComputedRef } from 'vue'
65+
import('vue')
66+
}

bun.lockb

53.6 KB
Binary file not shown.

0 commit comments

Comments
 (0)