install atropos (demo on /wait)
All checks were successful
Deploy App / deploy (push) Successful in 1m49s

This commit is contained in:
valere
2025-08-30 10:26:32 +02:00
parent d013e62fcf
commit 7a1cdf2178
55 changed files with 10731 additions and 11136 deletions

View File

@@ -1,81 +0,0 @@
export default eventHandler(() => {
return [
{
id: 0,
name: "L'efondras",
url: "https://leffondras.bandcamp.com/music",
style: [0, 1, 2],
cover: "0024705317"
},
{
id: 1,
name: "The kundalini genie",
url: "https://the-kundalini-genie.bandcamp.com",
style: [0, 1, 2],
cover: "0012045550"
},
{
id: 2,
name: "Fontaines D.C.",
url: "https://fontainesdc.bandcamp.com",
style: [0, 1, 2],
cover: "0027327090"
},
{
id: 3,
name: "Fontanarosa",
url: "https://fontanarosa.bandcamp.com",
style: [0, 1, 2],
cover: "0035380235",
},
{
id: 4,
name: "Johnny mafia",
url: "https://johnnymafia.bandcamp.com",
style: [0, 1, 2],
cover: "0035009392",
},
{
id: 5,
name: "New candys",
url: "https://newcandys.bandcamp.com",
style: [0, 1, 2],
cover: "0033518637",
},
{
id: 6,
name: "Magic shoppe",
url: "https://magicshoppe.bandcamp.com",
style: [0, 1, 2],
cover: "0030748374"
},
{
id: 7,
name: "Les jaguars",
url: "https://radiomartiko.bandcamp.com/album/surf-qu-b-cois",
style: [0, 1, 2],
cover: "0016551336",
},
{
id: 8,
name: "TRAAMS",
url: "https://traams.bandcamp.com",
style: [0, 1, 2],
cover: "0028348410",
},
{
id: 9,
name: "Blue orchid",
url: "https://blue-orchid.bandcamp.com",
style: [0, 1, 2],
cover: "0034796193",
},
{
id: 10,
name: "I love UFO",
url: "https://bruitblanc.bandcamp.com",
style: [0, 1, 2],
cover: "a2203158939",
}
]
})

View File

@@ -1,16 +0,0 @@
export default eventHandler(() => {
return [
{
id: 'ES00A',
name: 'zero',
duration: 2794,
description: '...',
},
{
id: 'ES00B',
name: 'zero b-sides',
duration: 2470,
description: '...',
}
]
})

View File

@@ -1,23 +0,0 @@
import fs from 'fs'
import path from 'path'
export default eventHandler(async (event) => {
const id = event.context.params?.id || ''
const directoryPath = path.join(process.cwd(), 'media/files/music/' + id) // replace 'your-folder' with the folder you want to list
try {
// Read the directory contents
const files = await fs.promises.readdir(directoryPath)
return {
success: true,
files: files.filter(file => !file.startsWith('.')) // optional: exclude unwanted files
}
} catch (error) {
return {
success: false,
error: error.message
}
}
})

View File

@@ -1,21 +0,0 @@
import fs from 'fs'
import path from 'path'
export default eventHandler(async (event) => {
const directoryPath = path.join(process.cwd(), 'media/files/music')
try {
// Read the directory contents
const files = await fs.promises.readdir(directoryPath)
return {
success: true,
files: files.filter(file => !file.startsWith('.')).reverse() // exclude unwanted files
}
} catch (error) {
return {
success: false,
error: error.message
}
}
})

View File

@@ -1,16 +0,0 @@
export default eventHandler(() => {
return [
{
"id": 0,
"name": "post-rock"
},
{
"id": 1,
"name": "math-rock"
},
{
"id": 2,
"name": "indie-pop"
}
]
})

View File

@@ -1,224 +0,0 @@
export default eventHandler(() => {
return [
{
id: 1,
compilation: 'ES00A',
title: 'The grinding wheel',
artist: 0,
start: 0,
bpm: 0,
url: 'https://arakirecords.bandcamp.com/track/the-grinding-wheel',
cover: 'a3236746052',
},
{
id: 2,
compilation: 'ES00A',
title: 'Bleach',
artist: 1,
start: 393,
bpm: 0,
url: 'https://the-kundalini-genie.bandcamp.com/track/bleach-2',
cover: 'a1714786533',
},
{
id: 3,
compilation: 'ES00A',
title: 'Televised mind',
artist: 2,
start: 892,
bpm: 0,
url: 'https://fontainesdc.bandcamp.com/track/televised-mind',
cover: 'a3772806156'
},
{
id: 4,
compilation: 'ES00A',
title: 'In it',
artist: 3,
start: 1138,
bpm: 0,
url: 'https://howlinbananarecords.bandcamp.com/track/in-it',
cover: 'a1720372066',
},
{
id: 5,
compilation: 'ES00A',
title: 'Bad michel',
artist: 4,
start: 1245,
bpm: 0,
url: 'https://johnnymafia.bandcamp.com/track/bad-michel-3',
cover: 'a0984622869',
},
{
id: 6,
compilation: 'ES00A',
title: 'Overall',
artist: 5,
start: 1394,
bpm: 0,
url: 'https://newcandys.bandcamp.com/track/overall',
cover: 'a0559661270',
},
{
id: 7,
compilation: 'ES00A',
title: 'Blowup',
artist: 6,
start: 1674,
bpm: 0,
url: 'https://magicshoppe.bandcamp.com/track/blowup',
cover: 'a1444895293',
},
{
id: 8,
compilation: 'ES00A',
title: 'Guitar jet',
artist: 7,
start: 1880,
bpm: 0,
url: 'https://radiomartiko.bandcamp.com/track/guitare-jet',
cover: 'a1494681687',
},
{
id: 9,
compilation: 'ES00A',
title: 'Intercontinental radio waves',
artist: 8,
start: 2024,
bpm: 0,
url: 'https://traams.bandcamp.com/track/intercontinental-radio-waves',
cover: 'a0046738552',
},
{
id: 10,
compilation: 'ES00A',
title: 'Here comes the sun',
artist: 9,
start: 2211,
bpm: 0,
url: 'https://blue-orchid.bandcamp.com/track/here-come-the-sun',
cover: 'a4102567047',
},
{
id: 11,
compilation: 'ES00A',
title: 'Like in the movies',
artist: 10,
start: 2559,
bpm: 0,
url: 'https://bruitblanc.bandcamp.com/track/like-in-the-movies-2',
cover: 'a2203158939',
},
{
id: 21,
compilation: 'ES00B',
title: 'Ce que révèle l\'éclipse',
artist: 0,
start: 0,
bpm: 0,
url: 'https://arakirecords.bandcamp.com/track/ce-que-r-v-le-l-clipse',
cover: 'a3236746052',
},
{
id: 22,
compilation: 'ES00B',
title: 'Bleedin\' Gums Mushrool',
artist: 1,
start: 263,
bpm: 0,
url: 'https://the-kundalini-genie.bandcamp.com/track/bleedin-gums-mushroom',
cover: 'a1714786533',
},
{
id: 23,
compilation: 'ES00B',
title: 'A lucid dream',
artist: 2,
start: 554,
bpm: 0,
url: 'https://fontainesdc.bandcamp.com/track/a-lucid-dream',
cover: 'a3772806156',
},
{
id: 24,
compilation: 'ES00B',
title: 'Lights off',
artist: 3,
start: 781,
bpm: 0,
url: 'https://howlinbananarecords.bandcamp.com/track/lights-off',
cover: 'a1720372066',
},
{
id: 25,
compilation: 'ES00B',
title: 'I\'m sentimental',
artist: 4,
start: 969,
bpm: 0,
url: 'https://johnnymafia.bandcamp.com/track/im-sentimental-2',
cover: 'a2333676849',
},
{
id: 26,
compilation: 'ES00B',
title: 'Thrill or trip',
artist: 5,
start: 1128,
bpm: 0,
url: 'https://newcandys.bandcamp.com/track/thrill-or-trip',
cover: 'a0559661270',
},
{
id: 27,
compilation: 'ES00B',
title: 'Redhead',
artist: 6,
start: 1303,
bpm: 0,
url: 'https://magicshoppe.bandcamp.com/track/redhead',
cover: 'a0594426943',
},
{
id: 28,
compilation: 'ES00B',
title: 'Supersonic twist',
artist: 7,
start: 1584,
bpm: 0,
url: 'https://open.spotify.com/track/66voQIZAJ3zD3Eju2qtNjF',
cover: 'a1494681687',
},
{
id: 29,
compilation: 'ES00B',
title: 'Flowers',
artist: 8,
start: 1749,
bpm: 0,
url: 'https://traams.bandcamp.com/track/flowers',
cover: 'a3644668199',
},
{
id: 30,
compilation: 'ES00B',
title: 'The shade',
artist: 9,
start: 1924,
bpm: 0,
url: 'https://blue-orchid.bandcamp.com/track/the-shade',
cover: 'a0804204790',
},
{
id: 31,
compilation: 'ES00B',
title: 'Like in the movies',
artist: 10,
start: 2185,
bpm: 0,
url: 'https://bruitblanc.bandcamp.com/track/like-in-the-movies',
cover: 'a3647322740',
},
]
})

View File

@@ -1,3 +0,0 @@
{
"extends": "../.nuxt/tsconfig.server.json"
}