SHA256
first commit
This commit is contained in:
commit
027e752e25
6 files changed
+269
No files matched your search
+27
@@ -0,0 +1,27 @@
|
|||||||
|
# ---> Go
|
||||||
|
# If you prefer the allow list template instead of the deny list, see community template:
|
||||||
|
# https://github.com/github/gitignore/blob/main/community/Golang/Go.AllowList.gitignore
|
||||||
|
#
|
||||||
|
# Binaries for programs and plugins
|
||||||
|
*.exe
|
||||||
|
*.exe~
|
||||||
|
*.dll
|
||||||
|
*.so
|
||||||
|
*.dylib
|
||||||
|
|
||||||
|
# Test binary, built with `go test -c`
|
||||||
|
*.test
|
||||||
|
|
||||||
|
# Output of the go coverage tool, specifically when used with LiteIDE
|
||||||
|
*.out
|
||||||
|
|
||||||
|
# Dependency directories (remove the comment below to include it)
|
||||||
|
# vendor/
|
||||||
|
|
||||||
|
# Go workspace file
|
||||||
|
go.work
|
||||||
|
go.work.sum
|
||||||
|
|
||||||
|
# env file
|
||||||
|
.env
|
||||||
|
|
||||||
+71
@@ -0,0 +1,71 @@
|
|||||||
|
# Chillcog Public Source License
|
||||||
|
|
||||||
|
Copyright © Chillcog 2026
|
||||||
|
|
||||||
|
## Preamble
|
||||||
|
|
||||||
|
The Chillcog Public Source License has been created to balance the open-source spirit of learning and collaboration with the protection of original project assets and control over distribution. This license allows users to study, fork, and build upon the project, while restricting unauthorized redistribution and commercial monetization.
|
||||||
|
|
||||||
|
## Terms and Definitions
|
||||||
|
|
||||||
|
**Owner** - The creator and primary owner of the project repository.
|
||||||
|
|
||||||
|
**Authorized Administrator** - Any individual or entity explicitly appointed by the Owner to perform project management and handling of license-related duties on the Owner's behalf.
|
||||||
|
|
||||||
|
**The Project** - The software, repository, source code, assets, documentation, and/or other resources protected under this license.
|
||||||
|
|
||||||
|
**Internal Contributors** - Individuals officially recognized as part of the core project team who contribute code, assets, or resources.
|
||||||
|
|
||||||
|
**Foreign Contributors** - External individuals or community members unofficially contributing code, assets, or resources to the project.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
### What you *can* do:
|
||||||
|
|
||||||
|
* Look at the code, draw inspiration, and copy snippets of it to use in your own projects.
|
||||||
|
* Fork the project and modify its code.
|
||||||
|
* Submit contributions, bug fixes, and feature requests to the project.
|
||||||
|
* Create derivative projects that integrate with or build upon the project and its public APIs.
|
||||||
|
|
||||||
|
### What you *cannot* do:
|
||||||
|
|
||||||
|
* Claim any of the code and/or other resources from the project as your own property.
|
||||||
|
* Redistribute the project (either as raw source code or in a compiled/executable format) without explicit written permission from the Owner or an Authorized Administrator.
|
||||||
|
* Copy substantial sections of the code (such as entire classes or complex methods) and/or resources from the project without providing clear attribution.
|
||||||
|
* Monetize any part of the project. This includes selling the project's code, resources, or compiled versions, as well as utilizing paywalls, forced subscriptions, or "donations" to restrict access to any parts of the project's content.
|
||||||
|
* Remove/Modify the header sections that show the original creator, copyright, and other info.
|
||||||
|
|
||||||
|
### What you *have to* abide by:
|
||||||
|
|
||||||
|
* If your derivative project uses any code and/or resources from this project (excluding public API classes), your project **must** also be visible source. This ensures others can learn from your derivative work.
|
||||||
|
* Give proper credit (see below) where it is due when copying portions of the code or assets.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Guidelines
|
||||||
|
|
||||||
|
### Resources Guidelines
|
||||||
|
|
||||||
|
* **Always** give credit to the original artists, designers, and creators.
|
||||||
|
* **Always** ask for explicit permission before copying standalone project assets (such as artwork, audio, or proprietary data models) for external use.
|
||||||
|
|
||||||
|
### Credit Guidelines
|
||||||
|
|
||||||
|
* A **visible and clear** credit acknowledgment must be present in the documentation and/or user interface of any derivative project using assets or code from this project.
|
||||||
|
|
||||||
|
### Project Contributions
|
||||||
|
|
||||||
|
* Original authors retain copyright of their contributed code and/or resources.
|
||||||
|
* The project Owner is granted non-exclusive, perpetual rights for the usage, distribution, and modification of the contributed code and/or resources.
|
||||||
|
* Those rights **cannot** be revoked once the contribution is merged. A contributed asset effectively becomes part of the project and is from then on regulated by this license.
|
||||||
|
* Any code and/or resource submitted via pull requests or contributions **must** be compliant with and licensed under this license.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Summary and Disclaimer
|
||||||
|
|
||||||
|
Look at the code and learn from it. Draw inspiration, be creative, and enjoy yourself. Should you find issues, please point them out or submit a contribution to fix them.
|
||||||
|
|
||||||
|
In case of questions regarding this license, or to obtain explicit redistribution permissions, please contact the project Owner.
|
||||||
|
|
||||||
|
The project is provided "as-is" without warranty of any kind, express or implied, including but not limited to the warranties of merchantability, fitness for a particular purpose, or non-infringement. In no event shall the authors or copyright holders be liable for any claim, damages, or other liability, whether in an action of contract, tort, or otherwise, arising from, out of, or in connection with the project or the use or other dealings in the project.
|
||||||
@@ -0,0 +1,16 @@
|
|||||||
|
# azuracast-themes
|
||||||
|
<a href="https://"><img src="https://img.shields.io/badge/License-CPSL-orange" alt="License - CPLS"></a> <a href="https://"><img src="https://img.shields.io/badge/Version_-1.0.2-green" alt="Version - 1.2.8"></a> <img src="https://img.shields.io/badge/maintained-yes-green" alt="maintained - yes"> <a title="Go to contributions doc"><img src="https://img.shields.io/badge/contributions-welcome-blue" alt="contributions - welcome"></a>
|
||||||
|
<br>
|
||||||
|
|
||||||
|
# Setup
|
||||||
|
Find the full setup <a href="https://chillcog.github.io/azuracast-themes#setup">here</a> or localy in the wiki.md file
|
||||||
|
|
||||||
|
# License
|
||||||
|
The project is provided "as-is" without warranty of any kind, express or implied, including but not limited to the warranties of merchantability, fitness for a particular purpose, or non-infringement. In no event shall the authors or copyright holders be liable for any claim, damages, or other liability, whether in an action of contract, tort, or otherwise, arising from, out of, or in connection with the project or the use or other dealings in the project.
|
||||||
|
# Redistribution
|
||||||
|
Please keep the attributions found in the files if you plan to redistribute the code and if you are using this keep at least this section of the code! ***This is required by the license!!***
|
||||||
|
```js
|
||||||
|
// Original code by: @chillcog
|
||||||
|
// See https://git.chillcog.com/chillcog/azuracast-themes
|
||||||
|
// Copyright (c) 2024-2026 ChillCog
|
||||||
|
```
|
||||||
@@ -0,0 +1,101 @@
|
|||||||
|
/*
|
||||||
|
* Please dont remove this attribution its required by the license of this code.
|
||||||
|
* This code is licensed under the CPSL License.
|
||||||
|
*
|
||||||
|
* Original code by: @chillcog
|
||||||
|
* See https://git.chillcog.com/chillcog/azuracast-themes
|
||||||
|
* Copyright (c) 2024-2026 ChillCog
|
||||||
|
*/
|
||||||
|
|
||||||
|
:root {
|
||||||
|
--backrooms-yellow: #d1c28a;
|
||||||
|
--backrooms-dark-yellow: #a3955e;
|
||||||
|
--backrooms-shadow: #2b281a;
|
||||||
|
--backrooms-fluorescent: #f4eedb;
|
||||||
|
--backrooms-alert: #8b0000;
|
||||||
|
}
|
||||||
|
|
||||||
|
body, .public-page {
|
||||||
|
background-image: url('https://chillcog.com/back.gif') !important;
|
||||||
|
background-size: cover !important;
|
||||||
|
background-position: center !important;
|
||||||
|
background-repeat: no-repeat !important;
|
||||||
|
background-attachment: fixed !important;
|
||||||
|
background-color: var(--backrooms-dark-yellow) !important;
|
||||||
|
font-family: 'Courier New', Courier, monospace !important;
|
||||||
|
color: var(--backrooms-shadow) !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.card, .player-page .card {
|
||||||
|
background-color: rgba(209, 194, 138, 0.9) !important;
|
||||||
|
border: 3px solid var(--backrooms-shadow) !important;
|
||||||
|
border-radius: 0px !important;
|
||||||
|
box-shadow: 10px 10px 0px var(--backrooms-shadow) !important;
|
||||||
|
backdrop-filter: blur(2px);
|
||||||
|
}
|
||||||
|
|
||||||
|
h1, h2, h3, h4, h5, .now-playing-title {
|
||||||
|
color: var(--backrooms-shadow) !important;
|
||||||
|
text-transform: uppercase;
|
||||||
|
letter-spacing: 2px;
|
||||||
|
font-weight: bold !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.now-playing-artist, .text-muted {
|
||||||
|
color: #4a4531 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.album-art img, .now-playing-art img {
|
||||||
|
border-radius: 0px !important;
|
||||||
|
border: 2px solid var(--backrooms-shadow);
|
||||||
|
filter: sepia(0.6) contrast(1.2) brightness(0.9);
|
||||||
|
}
|
||||||
|
|
||||||
|
.btn-player, .play-pause-btn {
|
||||||
|
background-color: var(--backrooms-shadow) !important;
|
||||||
|
color: var(--backrooms-fluorescent) !important;
|
||||||
|
border-radius: 0px !important;
|
||||||
|
border: 1px solid var(--backrooms-dark-yellow) !important;
|
||||||
|
transition: all 0.2s ease-in-out;
|
||||||
|
}
|
||||||
|
|
||||||
|
.btn-player:hover, .play-pause-btn:hover {
|
||||||
|
background-color: var(--backrooms-fluorescent) !important;
|
||||||
|
color: var(--backrooms-shadow) !important;
|
||||||
|
box-shadow: 0px 0px 8px var(--backrooms-fluorescent);
|
||||||
|
}
|
||||||
|
|
||||||
|
.progress {
|
||||||
|
background-color: #544f37 !important;
|
||||||
|
border-radius: 0px !important;
|
||||||
|
height: 10px !important;
|
||||||
|
border: 1px solid var(--backrooms-shadow);
|
||||||
|
}
|
||||||
|
|
||||||
|
.progress-bar {
|
||||||
|
background-color: var(--backrooms-fluorescent) !important;
|
||||||
|
box-shadow: 0 0 5px var(--backrooms-fluorescent);
|
||||||
|
}
|
||||||
|
|
||||||
|
input[type=range] {
|
||||||
|
accent-color: var(--backrooms-shadow) !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.list-group-item {
|
||||||
|
background-color: transparent !important;
|
||||||
|
border-bottom: 1px dashed var(--backrooms-shadow) !important;
|
||||||
|
color: var(--backrooms-shadow) !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.now-playing-title::after {
|
||||||
|
content: " [LIVE_FEED]";
|
||||||
|
font-size: 0.65em;
|
||||||
|
color: var(--backrooms-alert);
|
||||||
|
vertical-align: super;
|
||||||
|
animation: blink 1.5s infinite steps(2);
|
||||||
|
}
|
||||||
|
|
||||||
|
@keyframes blink {
|
||||||
|
0%, 100% { opacity: 1; }
|
||||||
|
50% { opacity: 0; }
|
||||||
|
}
|
||||||
@@ -0,0 +1,54 @@
|
|||||||
|
// Please dont remove this attribution its required by the license of this code.
|
||||||
|
// This code is licensed under the CPSL License.
|
||||||
|
//
|
||||||
|
// Original code by: @chillcog
|
||||||
|
// See https://git.chillcog.com/chillcog/azuracast-themes
|
||||||
|
// Copyright (c) 2024-2026 ChillCog
|
||||||
|
//
|
||||||
|
|
||||||
|
document.addEventListener("DOMContentLoaded", function () {
|
||||||
|
const scanline = document.createElement('div');
|
||||||
|
scanline.id = 'backrooms-scanlines';
|
||||||
|
Object.assign(scanline.style, {
|
||||||
|
position: 'fixed',
|
||||||
|
top: '0',
|
||||||
|
left: '0',
|
||||||
|
width: '100vw',
|
||||||
|
height: '100vh',
|
||||||
|
background: 'linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.15) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.03), rgba(0, 255, 0, 0.01), rgba(0, 0, 255, 0.03))',
|
||||||
|
backgroundSize: '100% 4px, 6px 100%',
|
||||||
|
zIndex: '9999',
|
||||||
|
pointerEvents: 'none'
|
||||||
|
});
|
||||||
|
document.body.appendChild(scanline);
|
||||||
|
|
||||||
|
let audioCtx = null;
|
||||||
|
let humOsc = null;
|
||||||
|
let buzzOsc = null;
|
||||||
|
let gainNode = null;
|
||||||
|
|
||||||
|
function startFluorescentHum() {
|
||||||
|
if (audioCtx) return;
|
||||||
|
audioCtx = new (window.AudioContext || window.webkitAudioContext)();
|
||||||
|
gainNode = audioCtx.createGain();
|
||||||
|
gainNode.gain.setValueAtTime(0.015, audioCtx.currentTime);
|
||||||
|
gainNode.connect(audioCtx.destination);
|
||||||
|
humOsc = audioCtx.createOscillator();
|
||||||
|
humOsc.type = 'sine';
|
||||||
|
humOsc.frequency.setValueAtTime(60, audioCtx.currentTime);
|
||||||
|
humOsc.connect(gainNode);
|
||||||
|
humOsc.start();
|
||||||
|
buzzOsc = audioCtx.createOscillator();
|
||||||
|
buzzOsc.type = 'sawtooth';
|
||||||
|
buzzOsc.frequency.setValueAtTime(120, audioCtx.currentTime);
|
||||||
|
const filter = audioCtx.createBiquadFilter();
|
||||||
|
filter.type = 'lowpass';
|
||||||
|
filter.frequency.setValueAtTime(200, audioCtx.currentTime);
|
||||||
|
buzzOsc.connect(filter);
|
||||||
|
filter.connect(gainNode);
|
||||||
|
buzzOsc.start();
|
||||||
|
}
|
||||||
|
|
||||||
|
window.addEventListener('click', startFluorescentHum, { once: true });
|
||||||
|
window.addEventListener('touchstart', startFluorescentHum, { once: true });
|
||||||
|
});
|
||||||
Reference in new issue
Block a user