diff --git a/.vscode/settings.json b/.vscode/settings.json deleted file mode 100644 index 0baf83e..0000000 --- a/.vscode/settings.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "python-envs.defaultEnvManager": "ms-python.python:system", - "python-envs.pythonProjects": [] -} \ No newline at end of file diff --git a/2/scratch.html b/2/scratch.html deleted file mode 100644 index e69de29..0000000 diff --git a/404/index.html b/404/index.html new file mode 100644 index 0000000..dd9451e --- /dev/null +++ b/404/index.html @@ -0,0 +1,324 @@ + + + +
+ + +Welcome to the page of BarnyWarp.
@@ -335,7 +357,7 @@ }); // Carica commit recenti da GitHub API - $.get('https://api.github.com/repos/arancia313/BarnyWarp/commits?sha=intensità', function(data) { + $.get('https://api.github.com/repos/arancia313/BarnyWarp/commits?sha=work', function(data) { var commitsSection = $("#recentCommits ul"); data.forEach(function(commit) { if (commit.author && commit.author.login.toLowerCase() !== "web-flow") { @@ -347,24 +369,213 @@ }); }); - // Avviso sviluppo - alert('BarnyWarp is currently in development, some clogs may break due to the code changing all the time.'); + // A warning, because BarnyWarp is still in development. + console.log('BarnyWarp is currently in development, some clogs may break due to the code changing all the time.'); document.addEventListener('DOMContentLoaded', function() { if (window.location.pathname.includes('/BarnyWarp')) { document.body.classList.add('barnywarp-page'); } }); + + // A warning in case of people pasting random code here. + console.log( + "%cSCAM ALERT! %cDo NOT paste things into here that other people sent you!", + "color:red;font-family:sans-serif;font-size:2rem;font-weight:900", + "color:white;font-family:sans-serif;font-size:1.75rem;font-weight:900;-webkit-text-stroke: .5px black" + ); + console.log("If you don't know what this window does, EXIT NOW! People can use this to upload inappropriate projects under YOUR name, delete YOUR projects, and get YOU banned from BarnyWarp!"); + + // Facts. As always. + const Barnyfacts = [ // I never used "const" before... + "BarnyWarp was created by Arancia 3.", + "BarnyWarp is an extension for BarnyLine that adds server and data management functionalities.", + "There is an BarnyEditor. A bit more different than Penguinmod's.", + "BarnyWarp is still in development.", + "Did you know? BarnyWarp's icon is Orange, with a white B in the middle. Other scratch mods don't have it.", // What a surprise. Copilot just guessed the exact same icon i made! + "Did you know? Extflashy is BarnyWarp's AI.", + "Tip: If you code on Masterscript, on the BarnyWarp editor, you can run the project with a FLUIDIFICATED way.", + "I know this is stupid, but did you know that BarnyWarp's name comes from 'Barnyard'?", + "BarnyWarp's development started on december 1st, 2024. So, BarnyWarp's birthday is December 1st!", + "You will never know that one day, BarnyWarp will be successful.", + "You are looking at a screen.", + "I LOOVE dark mode!", + "OrangeRed and Orange are BarnyWarp's natural colors.", + "Months ago, i added the green update. but... Something went wrong with the branches... so i decided to revert that update.", + "cOmMiT cAnNoT Be PoSsIbLe CuZ yOu HaVe UnMeRgEd FiLeS", + "I put the dependabot in a DEEP SLEEP.", // i mean, a deep inserting. + "BarnyWarp's homepage is made in HTML. The editor, too." +]; + const fact = Barnyfacts[Math.floor(Math.random() * Barnyfacts.length)]; + console.log(`%cBarnyFact: %c${fact}`, "color: orangered; font-size: 1.5em; font-weight: bold;", "color: white; font-size: 1.25rem;"); // AHH copilot. - - - - - - \ No newline at end of file + + + + + +--------------------------------------------------- + + + + + + + + +This is the BarnyWarp Charathers Gallery.
+ Home + +Arancia Carnivora è un clone di pianta carnivora che sa programmare, intasare e atre cose. + Arancia Carnivora è stato prodotto e disegnato dal ministro di pianta carnivora. +
+ + +g è uno dell'Orsay che sa disegnare, intasare, ecc. Di solito va a intasare con qualsiasi notifica di Youtube. + + g è stato prodotto e disegnato dal ministro di garrymations e di pianta carnivora. +
+ + +Cardinal Red Scratch Cat è un gatto cardinale, considerato come il "Re" del governo cardinale, ma a volte combina dei pasticci. Alcuni dannosi, come per esempio: + 1: Mangia Troppo. + 2: Invita notifiche che NON conosce. + 3: Aiuta Dango a ripristinare le notifiche oramai non funzionanti. + 4: Come i gatti di sempre, NON fa mai il bagno, ma viene obbligato da Red Scratch Cat. + Cardinal Red Scratch Cat è stato prodotto e disegnato dal ministro di Arancia Carnivora. +
+ + +k è la mascotte di BarnyWarp, ma anche una dell'Orsay che va a intasare di solito con una notifica. Di solito vuole andare nell'Area Personale, anche quando ci sono delle feste fatte da SPIKE. + Gli piace anche dormire, intasare, ecc. + k è stata prodotta e disegnata dal ministro di garrymations e di pianta carnivora. +
+ +Mascotte di TurboWarp.
+ + +Semplicemente uno dell'Area Personale che è sempre impegnato nei suoi appostamenti.
+ + +Uno dell'Area Personale che ha l'IQ al 2000%, Basta dirli una domanda complicata e Kuh risponde correttamente, Come GitHub Copilot, MAVALAA!!!
+ + +Come dicevo sempre dall'anno scorso, Spike è un grifone troppo assonato, il che NON sta mai attento alle lezioni e prende sempre + Brutti voti nell'area personale. + Spike è stato prodotto e disegnato dal ministro di pianta carnivora. +
+ + +Semplicemente una dell'Orsay che non parla mai, ma scrive quello che pensa su un foglio.
+ + +Classic Kuh è un clone di Kuh che, come k, ama dormire, ma PER MOOOOOOOOOOOLTO tempo. Poi, classic Kuh, ha abilità e forza molto più elevati di quelle di Kuh. + Classic Kuh è stato prodotto e disegnato dall'Area Personale. +
+Extflashy is BarnyWarp's Built-in AI. Extflashy can help you. Extflashy can run complex things. + It is integrated, and it's easy to use. On the editor, just send "Usernames: Extflashy", and Extflashy will charge the list of the Cloudlink usernames. + You can also send "Test: Extflashy" to test the editor. But, once you restart the editor, all unsaved changes will be lost. + I recommend you to use it only if you need help. Don't just be addicted with it. +
+A bunch of extensions made by Arancia 3 by using Extforge and TurboBuilder.
+This is the BarnyWarp Charathers Gallery.
- Home - -Arancia Carnivora è un clone di pianta carnivora che sa programmare, intasare e atre cose. - Arancia Carnivora è stato prodotto e disegnato dal ministro di pianta carnivora. -
- - -g è uno dell'Orsay che sa disegnare, intasare, ecc. Di solito va a intasare con qualsiasi notifica di Youtube. - - g è stato prodotto e disegnato dal ministro di garrymations e di pianta carnivora. -
- - -Cardinal Red Scratch Cat è un gatto cardinale, considerato come il "Re" del governo cardinale, ma a volte combina dei pasticci. Alcuni dannosi, come per esempio: - 1: Mangia Troppo. - 2: Invita notifiche che NON conosce. - 3: Aiuta Dango a ripristinare le notifiche oramai non funzionanti. - 4: Come i gatti di sempre, NON fa mai il bagno, ma viene obbligato da Red Scratch Cat. - Cardinal Red Scratch Cat è stato prodotto e disegnato dal ministro di Arancia Carnivora. -
- - -k è la mascotte di BarnyWarp, ma anche una dell'Orsay che va a intasare di solito con una notifica. Di solito vuole andare nell'Area Personale, anche quando ci sono delle feste fatte da SPIKE. - Gli piace anche dormire, intasare, ecc. - k è stata prodotta e disegnata dal ministro di garrymations e di pianta carnivora. -
- -Mascotte di TurboWarp.
- - -Semplicemente uno dell'Area Personale che è sempre impegnato nei suoi appostamenti.
- - -Uno dell'Area Personale che ha l'IQ al 2000%, Basta dirli una domanda complicata e Kuh risponde correttamente, Come GitHub Copilot, MAVALAA!!!
- - -Come dicevo sempre dall'anno scorso, Spike è un grifone troppo assonato, il che NON sta mai attento alle lezioni e prende sempre - Brutti voti nell'area personale. - Spike è stato prodotto e disegnato dal ministro di pianta carnivora. -
- - -Semplicemente una dell'Orsay che non parla mai, ma scrive quello che pensa su un foglio.
- - -Classic Kuh è un clone di Kuh che, come k, ama dormire, ma PER MOOOOOOOOOOOLTO tempo. Poi, classic Kuh, ha abilità e forza molto più elevati di quelle di Kuh. - Classic Kuh è stato prodotto e disegnato dall'Area Personale. -
-If you weren't redirected automatically, click here, clicca qui.
- +Royal-based coding with tons of capabilities
+Built off Penguinmod and Snail IDE
+Scratch Note: Please don't mention BarnyWarp on Scratch, i have different rules compared to Scratch! 😅
+ +Welcome to the page of BarnyWarp.
+ + +There are now BarnyAddresses! You must open the console and check it out.
+' + message.replace(/%icon(?:\[([^\]]+)\])?/gi, function(matches, group1) { - return '' + (!!group1 ? group1 : 'icon') + ''; - }); + '
'; - - // create the message container - this.viewport = document.createElement('div'); - this.viewport.className = 'ath-viewport'; - if ( this.options.modal ) { - this.viewport.className += ' ath-modal'; - } - if ( this.options.mandatory ) { - this.viewport.className += ' ath-mandatory'; - } - this.viewport.style.position = 'absolute'; - - // create the actual message element - this.element = document.createElement('div'); - this.element.className = 'ath-container ath-' + ath.OS + ' ath-' + ath.OS + (ath.OSVersion + '').substr(0,1) + ' ath-' + (ath.isTablet ? 'tablet' : 'phone'); - this.element.style.cssText = '-webkit-transition-property:-webkit-transform,opacity;-webkit-transition-duration:0s;-webkit-transition-timing-function:ease-out;transition-property:transform,opacity;transition-duration:0s;transition-timing-function:ease-out;'; - this.element.style.webkitTransform = 'translate3d(0,-' + window.innerHeight + 'px,0)'; - this.element.style.transform = 'translate3d(0,-' + window.innerHeight + 'px,0)'; - - // add the application icon - if ( this.options.icon && this.applicationIcon ) { - this.element.className += ' ath-icon'; - this.img = document.createElement('img'); - this.img.className = 'ath-application-icon'; - this.img.addEventListener('load', this, false); - this.img.addEventListener('error', this, false); - - this.img.src = this.applicationIcon.href; - this.element.appendChild(this.img); - } - - this.element.innerHTML += message; - - // we are not ready to show, place the message out of sight - this.viewport.style.left = '-99999em'; - - // attach all elements to the DOM - this.viewport.appendChild(this.element); - this.container.appendChild(this.viewport); - - // if we don't have to wait for an image to load, show the message right away - if ( this.img ) { - this.doLog("Add to homescreen: not displaying callout because waiting for img to load"); - } else { - this._delayedShow(); - } - }, - - _delayedShow: function (e) { - setTimeout(this._show.bind(this), this.options.startDelay * 1000 + 500); - }, - - _show: function () { - var that = this; - - // update the viewport size and orientation - this.updateViewport(); - - // reposition/resize the message on orientation change - window.addEventListener('resize', this, false); - window.addEventListener('scroll', this, false); - window.addEventListener('orientationchange', this, false); - - if ( this.options.modal ) { - // lock any other interaction - document.addEventListener('touchmove', this, true); - } - - // Enable closing after 1 second - if ( !this.options.mandatory ) { - setTimeout(function () { - that.element.addEventListener('click', that, true); - }, 1000); - } - - // kick the animation - setTimeout(function () { - that.element.style.webkitTransitionDuration = '1.2s'; - that.element.style.transitionDuration = '1.2s'; - that.element.style.webkitTransform = 'translate3d(0,0,0)'; - that.element.style.transform = 'translate3d(0,0,0)'; - }, 0); - - // set the destroy timer - if ( this.options.lifespan ) { - this.removeTimer = setTimeout(this.remove.bind(this), this.options.lifespan * 1000); - } - - // fire the custom onShow event - if ( this.options.onShow ) { - this.options.onShow.call(this); - } - }, - - remove: function () { - clearTimeout(this.removeTimer); - - // clear up the event listeners - if ( this.img ) { - this.img.removeEventListener('load', this, false); - this.img.removeEventListener('error', this, false); - } - - window.removeEventListener('resize', this, false); - window.removeEventListener('scroll', this, false); - window.removeEventListener('orientationchange', this, false); - document.removeEventListener('touchmove', this, true); - this.element.removeEventListener('click', this, true); - - // remove the message element on transition end - this.element.addEventListener('transitionend', this, false); - this.element.addEventListener('webkitTransitionEnd', this, false); - this.element.addEventListener('MSTransitionEnd', this, false); - - // start the fade out animation - this.element.style.webkitTransitionDuration = '0.3s'; - this.element.style.opacity = '0'; - }, - - _removeElements: function () { - this.element.removeEventListener('transitionend', this, false); - this.element.removeEventListener('webkitTransitionEnd', this, false); - this.element.removeEventListener('MSTransitionEnd', this, false); - - // remove the message from the DOM - this.container.removeChild(this.viewport); - - this.shown = false; - - // fire the custom onRemove event - if ( this.options.onRemove ) { - this.options.onRemove.call(this); - } - }, - - updateViewport: function () { - if ( !this.shown ) { - return; - } - - this.viewport.style.width = window.innerWidth + 'px'; - this.viewport.style.height = window.innerHeight + 'px'; - this.viewport.style.left = window.scrollX + 'px'; - this.viewport.style.top = window.scrollY + 'px'; - - var clientWidth = document.documentElement.clientWidth; - - this.orientation = clientWidth > document.documentElement.clientHeight ? 'landscape' : 'portrait'; - - var screenWidth = ath.OS == 'ios' ? this.orientation == 'portrait' ? screen.width : screen.height : screen.width; - this.scale = screen.width > clientWidth ? 1 : screenWidth / window.innerWidth; - - this.element.style.fontSize = this.options.fontSize / this.scale + 'px'; - }, - - resize: function () { - clearTimeout(this.resizeTimer); - this.resizeTimer = setTimeout(this.updateViewport.bind(this), 100); - }, - - updateSession: function () { - if ( ath.hasLocalStorage === false ) { - return; - } - - if (localStorage) { - localStorage.setItem(this.options.appID, JSON.stringify(this.session)); - } - }, - - clearSession: function () { - this.session = _defaultSession; - this.updateSession(); - }, - - getItem: function(item) { - try { - if (!localStorage) { - throw new Error('localStorage is not defined'); - } - - return localStorage.getItem(item); - } catch(e) { - // Preventing exception for some browsers when fetching localStorage key - ath.hasLocalStorage = false; - } - }, - - optOut: function () { - this.session.optedout = true; - this.updateSession(); - }, - - optIn: function () { - this.session.optedout = false; - this.updateSession(); - }, - - clearDisplayCount: function () { - this.session.displayCount = 0; - this.updateSession(); - }, - - _preventDefault: function (e) { - e.preventDefault(); - e.stopPropagation(); - } -}; - -// utility -function _extend (target, obj) { - for ( var i in obj ) { - target[i] = obj[i]; - } - - return target; -} - -function _removeToken () { - if ( document.location.hash == '#ath' ) { - history.replaceState('', window.document.title, document.location.href.split('#')[0]); - } - - if ( _reSmartURL.test(document.location.href) ) { - history.replaceState('', window.document.title, document.location.href.replace(_reSmartURL, '$1')); - } - - if ( _reQueryString.test(document.location.search) ) { - history.replaceState('', window.document.title, document.location.href.replace(_reQueryString, '$2')); - } -} - -// expose to the world -window.addToHomescreen = ath; - -})(window, document); diff --git a/manifest.webmanifest b/manifest.webmanifest new file mode 100644 index 0000000..05531c4 --- /dev/null +++ b/manifest.webmanifest @@ -0,0 +1,21 @@ +{ + "short_name": "Barny", + "name": "BarnyWarp", + "description": "A Scratch mod based on Snail IDE.", + "icons": [ + { + "src": "BarnyWarp%20Icon.svg", + "type": "image/svg", + "sizes": "192x192" + }, + { + "src": "BarnyWarp%20Icon%20(Sturdy).svg", + "type": "image/png", + "sizes": "512x512" + } + ], + "start_url": "editor", + "background_color": "#0f0f0f", + "display": "standalone", + "theme_color": "#0f0f0f" +} \ No newline at end of file diff --git a/static/assets/blocks/if flag then.png b/static/assets/blocks/if flag then.png new file mode 100644 index 0000000..a0673f6 Binary files /dev/null and b/static/assets/blocks/if flag then.png differ diff --git a/static/assets/blocks/log.png b/static/assets/blocks/log.png new file mode 100644 index 0000000..e18d6e5 Binary files /dev/null and b/static/assets/blocks/log.png differ diff --git a/static/assets/media/extflashy.svg b/static/assets/media/extflashy.svg new file mode 100644 index 0000000..f598504 --- /dev/null +++ b/static/assets/media/extflashy.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/static/docs/k (Speed Anti Bug).png b/static/assets/media/frontpage.png similarity index 100% rename from static/docs/k (Speed Anti Bug).png rename to static/assets/media/frontpage.png diff --git a/static/assets/system/alert.icon.svg b/static/assets/system/alert.icon.svg new file mode 100644 index 0000000..5199721 --- /dev/null +++ b/static/assets/system/alert.icon.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/static/assets/system/error.icon.svg b/static/assets/system/error.icon.svg new file mode 100644 index 0000000..0f310c3 --- /dev/null +++ b/static/assets/system/error.icon.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/static/assets/system/moon.png b/static/assets/system/moon.png new file mode 100644 index 0000000..e19d7bc Binary files /dev/null and b/static/assets/system/moon.png differ diff --git a/static/docs/BarnyWarp.pmp b/static/docs/BarnyWarp.pmp deleted file mode 100644 index 151fe61..0000000 Binary files a/static/docs/BarnyWarp.pmp and /dev/null differ diff --git a/static/docs/index.md b/static/docs/index.md deleted file mode 100644 index 4c79b3b..0000000 --- a/static/docs/index.md +++ /dev/null @@ -1,2 +0,0 @@ -# Project Documentation -When this site is open source, that means BarnyWarp servers are currently down. \ No newline at end of file diff --git a/static/imp. files/whole.css b/static/imp. files/whole.css new file mode 100644 index 0000000..d8948dc --- /dev/null +++ b/static/imp. files/whole.css @@ -0,0 +1,228 @@ + body { + font-family: sans-serif; + margin: 0; + padding: 0; + height: 100vh; + display: flex; + justify-content: center; + align-items: center; + background-color: rgb(0, 0, 0); + } + h1{ + color: Orangered; /* OrangeRed color for better contrast */ + font-size: 3em; + text-align: center; + text-decoration: none; + } + p { + color: white; /* White color for better contrast */ + font-size: 1.5em; + text-align: right; + text-decoration: none; + } + a { + color: aliceblue; /* AliceBlue color for links */ + font-size: 1.5em; + text-align: right; + text-decoration: underline; + } + a:hover { + color: OrangeRed; /* OrangeRed color for better contrast */ + font-size: 1.5em; + text-align: right; + text-decoration: underline; + } + button { + background-color: Orange; + border-color: OrangeRed; + margin: 0; + padding: 0; + color: black; /* Black color for better contrast */ + border-radius: 5px; + font-size: 14px; + display: flex; + align-items: center; + justify-content: center; + } + button:hover { + background-color: OrangeRed; /* Change background color on hover */ + border-color: Orange; /* Change border color on hover */ + margin: 0; + padding: 0; + color: White; /* Change text color on hover */ + border-radius: 5px; + font-size: 14px; + display: flex; + align-items: center; + justify-content: center; + } + a.active, a:hover, li #darkModeToggle.active { + border: 0px solid white; + background-color: rgba(0, 0, 0, 0.125); + /* transition: 0.5s; */ + } + + li #darkModeToggle img { + width: 30px; + height: 30px; + vertical-align: middle; /* Align the image vertically. */ + cursor: pointer; + } + + li #IconImage img { + width: 40px; + height: 40px; + vertical-align: middle; /* Align the image vertically. */ + transition: transform 0.3s ease-in-out; /* Add a smooth transition effect. */ + } + + #IconImage img:hover { + background-color: transparent; + transform: scale(1.1); + } + + #IconImage img:not(:hover) { + background-color: transparent; + transform: scale(1); /* Return to regular size when not hovered. */ + } + nav { + height: 60px; + width: 100%; + background-color: #631400; + display: flex; + justify-content: center; + align-items: center; + text-align: center; + position: fixed; + top: 0; + z-index: 1000; + } + + nav ul { + float: center; + margin-left: 50; + } + + nav li { + display: inline-block; + margin: 0 8px; + line-height: 60px; + } + + nav a { + color: white; + font-size: 18px; + text-transform: uppercase; + border: 1px solid transparent; + padding: 7px 10px; + border-radius: 3px; + } + + nav input[type="text"] { + padding: 5px; + border: 1px solid #ccc; + border-radius: 3px; + margin-right: 10px; + } + + #searchIcon { + font-size: 18px; + vertical-align: middle; /* Align the image vertically */ + border: 1px solid rgb(63, 63, 63); + border-radius: 3px; + cursor: pointer; + } + section { + background: rgb(0, 0, 0); + color: orangered; + padding: 20px; + align-items: center; + text-align: center; + margin-top: 60px; + } + footer { + position: fixed; + left: 0; + bottom: 0; + width: 100%; + size: 30px; + padding: 0; + height: 4vh; + margin: 0; + display: flex; + align-items: center; + justify-content: center; + background-color: orangered; + text-align: center; + color: white; + font-size:1em; + } + footer ul { + position: fixed; + left: 0; + bottom: 0; + width: 100%; + size: 30px; + padding: 0; + height: 4vh; + margin: 0; + display: flex; + align-items: center; + justify-content: center; + background-color: orangered; + text-align: center; + color: white; + font-size:1em; + } + footer.dark-mode { + background-color: #333333; + color: white; + } + + .footer-row { + margin-bottom: 60px; + width: 100%; /* Each row takes the full width */ + flex: 100%; /* Adjust the width of each footer-row */ + display: block; + padding: 10px; + ; + left: 0; + background-color: rgb(57, 14, 0); + } + + .footer-row a { + color: orange; + text-decoration: underline; + display: flex; + align-items: center; + justify-content: center; + } + .footer-row p { + color: white; /* White color for better contrast */ + font-size: 2rem; + text-align: center; + text-decoration: none; + } + .footer-row a.dark-mode { + color: orange; + text-decoration: underline; + display: block; + margin-bottom: 5px; + } + body.dark-mode { + background-color: #460e00; + color: white; + } + nav.dark-mode { + background-color: orange; + } + nav.dark-mode input[type="text"] { + color: white; /* Darker color for dark mode */ + background-color: #333333; /* Darker color for dark mode */ + } + nav.dark-mode #searchIcon { + color: white; /* Darker color for dark mode */ + background-color: #333333; /* Darker color for dark mode */ + border: 1px solid rgb(0, 0, 0); + border-radius: 3px; + } \ No newline at end of file diff --git a/static/src/routes/edit/+page.svelte b/static/src/routes/edit/+page.svelte index 0a59a12..b66094b 100644 --- a/static/src/routes/edit/+page.svelte +++ b/static/src/routes/edit/+page.svelte @@ -1,6 +1,7 @@ diff --git a/sturdy.html b/sturdy.html index 6e4b656..4a38976 100644 --- a/sturdy.html +++ b/sturdy.html @@ -1,14 +1,13 @@ + -Royal-based coding with tons of capabilities
-Sturdy version of BarnyWarp
- +Built off Penguinmod and Snail IDE
+Welcome to the page of BarnyWarp.
Benvenuto su BarnyWarp Tools. Questo sito contiene una serie di strumenti utili per la programmazione e la gestione di progetti. Scegli uno strumento per iniziare.
- - - -Usala per scaricare le risorse necessarie per i progetti.
-BarnyWarp Tools
|