1
0
Fork 0
mirror of https://ark.sudovanilla.org/Korbs/butterflyvu.git synced 2024-12-22 23:33:54 +00:00

Compare commits

...

10 commits

9 changed files with 75 additions and 25 deletions

1
.gitignore vendored
View file

@ -22,3 +22,4 @@ pnpm-debug.log*
# macOS-specific files # macOS-specific files
.DS_Store .DS_Store
butterflyvu.tar

27
LICENSE Normal file
View file

@ -0,0 +1,27 @@
MIT NON-AI License
Copyright (c) 2024 - 2025 SudoVanilla
Permission is hereby granted, free of charge, to any person obtaining a copy of the software and associated documentation files (the "Software"),
to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense,
and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions.
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
In addition, the following restrictions apply:
1. The Software and any modifications made to it may not be used for the purpose of training or improving machine learning algorithms,
including but not limited to artificial intelligence, natural language processing, or data mining. This condition applies to any derivatives,
modifications, or updates based on the Software code. Any usage of the Software in an AI-training dataset is considered a breach of this License.
2. The Software may not be included in any dataset used for training or improving machine learning algorithms,
including but not limited to artificial intelligence, natural language processing, or data mining.
3. Any person or organization found to be in violation of these restrictions will be subject to legal action and may be held liable
for any damages resulting from such use.
THE SOFTWARE 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 AND NONINFRINGEMENT. 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 SOFTWARE
OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

View file

@ -9,6 +9,13 @@
"WhiteLabel": "true", "WhiteLabel": "true",
"FooterVersion": "true" "FooterVersion": "true"
}, },
"FeelbackConfig": {
"Enabled": false,
"ContentSetId": "566e8b96-c65e-4bf7-87df-d22a9f4994a2",
"Present": "like-dislike",
"Question": "Did this article help?",
"Answer": "Thank you for your feedback."
},
"HeaderItems": [ "HeaderItems": [
{ {
"text": "Syntax", "text": "Syntax",

View file

@ -1,6 +1,6 @@
services: services:
butterflyvu: butterflyvu:
image: ark.sudovanilla.org/korbs/butterflyvu:amd64 image: docker.registry.sudovanilla.org/butterflyvu:latest
network_mode: bridge network_mode: bridge
volumes: volumes:
- ./config.json:/app/config.json - ./config.json:/app/config.json

View file

@ -1,7 +1,7 @@
{ {
"name": "butterflyvu", "name": "butterflyvu",
"type": "module", "type": "module",
"version": "0.1.41", "version": "0.1.5",
"license": "GPL-3.0-only", "license": "GPL-3.0-only",
"author": { "author": {
"name": "SudoVanilla" "name": "SudoVanilla"
@ -18,8 +18,7 @@
"url": "https://ark.sudovanilla.org/Korbs/butterflyvu/" "url": "https://ark.sudovanilla.org/Korbs/butterflyvu/"
}, },
"bugs": { "bugs": {
"url": "https://ark.sudovanilla.org/Korbs/butterflyvu/issues", "url": "https://ark.sudovanilla.org/Korbs/butterflyvu/issues"
"email": "support@sudovanilla.org"
}, },
"scripts": { "scripts": {
"start": "astro dev", "start": "astro dev",
@ -28,8 +27,8 @@
"preview": "astro preview", "preview": "astro preview",
"docker:start": "docker compose up -d", "docker:start": "docker compose up -d",
"docker:stop": "docker compose down", "docker:stop": "docker compose down",
"docker:build": "docker build --platform linux/amd64 -t ark.sudovanilla.org/korbs/butterflyvu:amd64 .", "docker:build": "buildah build -t docker.registry.sudovanilla.org/butterflyvu --no-cache --annotation 'org.opencontainers.image.vendor=SudoVanilla' --annotation 'org.opencontainers.image.description=Documentations built on Astro' --annotation 'org.opencontainers.image.title=ButterflyVu' --annotation 'org.opencontainers.image.licenses=MIT NON-AI License' --annotation 'org.opencontainers.image.url=https://ark.sudovanilla.org/Korbs/ButterflyVu'",
"docker:push": "docker push ark.sudovanilla.org/korbs/butterflyvu:amd64" "docker:push": "buildah push docker.registry.sudovanilla.org/butterflyvu"
}, },
"dependencies": { "dependencies": {
"@astrojs/mdx": "4.0.0-beta.5", "@astrojs/mdx": "4.0.0-beta.5",

View file

@ -1,7 +1,7 @@
--- ---
layout: "@layouts/Splash.astro" layout: "@layouts/Splash.astro"
Title: "Welcome to ButterflyVu" Title: "Welcome to ButterflyVu"
Banner: "/splash-logo.webp" Banner: "https://md.sudovanilla.org/images/logos/butterflyvu/ButterflyVu%20-%20Original.svg"
PrimaryText: "Primary" PrimaryText: "Primary"
SecondaryText: "Secondary" SecondaryText: "Secondary"
PrimaryLink: "#" PrimaryLink: "#"

View file

@ -1,6 +1,6 @@
--- ---
// Settings // Settings
import { SiteSettings } from '@config' import { SiteSettings, FeelbackConfig } from '@config'
import {version} from '../../package.json' import {version} from '../../package.json'
// Properties // Properties
@ -29,21 +29,16 @@ import "@styles/prism.css"
<slot/> <slot/>
<!-- <hr/> <!-- <hr/>
<p>Last Updated: null</p> --> <p>Last Updated: null</p> -->
<!-- { {FeelbackConfig.Enabled ?
FEEDBACK_ENABLED ? <FeelbackYesNo
// Feelback contentSetId={FeelbackConfig.ContentSetId}
FEELBACK_ENABLED ? preset={FeelbackConfig.Present}
<FeelbackYesNo textQuestion={FeelbackConfig.Question}
contentSetId="2308b02b-8f9f-437e-9780-5ad4c0db016e" textAnswer={FeelbackConfig.Answer}
preset="like-dislike" />
textQuestion="Did this article help?" :
textAnswer="Thank you for your feedback." null
/> }
:
null
:
null
} -->
</div> </div>
</article> </article>

View file

@ -44,6 +44,23 @@ table {
} }
} }
code {
background: #2b2b2b;
padding: 4px 8px;
border-radius: 4rem;
display: inline;
margin: 0px -4px;
}
pre {
code {
background: inherit;
padding: inherit;
border-radius:inherit;
display: inherit;
margin: inherit;
}
}
blockquote { blockquote {
margin: 0px; margin: 0px;
background: #323232; background: #323232;
@ -226,7 +243,7 @@ header {
} }
@media screen and (max-width: 775px) { @media screen and (max-width: 775px) {
.content { article {
flex-direction: column !important; flex-direction: column !important;
} }
} }
@ -237,8 +254,9 @@ header {
padding-bottom: 24px; padding-bottom: 24px;
} }
.page .content { .page article {
padding-top: 114px !important; padding-top: 114px !important;
margin-top: 48px;
} }
.footer { .footer {

View file

@ -6,6 +6,9 @@
justify-content: space-between; justify-content: space-between;
img { img {
width: 100%; width: 100%;
max-width: 200px;
margin: auto;
padding: 92px 0%;
} }
.splash-action { .splash-action {
display: flex; display: flex;