그동안 쌓여 있던 미커밋 파일들을 정리. 소스·자산만 올리고, 개인 데이터와 런타임 상태는 gitignore로 차단. 추가된 자산: - web-ui/audiomass, web-ui/wavacity — 자체 호스팅 오디오 에디터 - web-ui/drums — 드럼 샘플 - wol-gate — WOL 프록시 컨테이너(Dockerfile + server.js) - glm-1m-fix — GLM 1M 컨텍스트 설치 스크립트(linux/windows) - RENODE_FIXES_SUMMARY*.md, CCTV정보_서울특별시.csv, .claude/plans 수정: - edge_tts_synth.py: rate 인자 추가(말하기 속도 조절) - .smallclaw/config.json: google(gemini) provider 등록 — 키는 vault 참조 - assets/SmallClaw*.png 삭제분 반영 gitignore (중요): - .smallclaw/users/*/workspace/ 전체 차단. 기존 패턴이 memory/uploads와 일부 확장자만 막아서 detective/(고소장·통화녹취·의사소견서·가족관계증명서), generated-media/, music/, pptx/ 등 앱 생성 개인 데이터 403MB가 노출돼 있었음 - .smallclaw/active-sessions.json 차단 — 살아있는 bearer 토큰과 admin 역할이 평문으로 들어있어 커밋 시 게이트웨이 관리자 자격증명이 그대로 공개됨 - google-usage.json, config.json.bak-*, workspace/memory·weather-maps· task_result_*, voice/ 등 런타임 상태도 함께 차단 Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
278 lines
9.9 KiB
HTML
278 lines
9.9 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<title>Wavacity | Online Audio Editor Based on Audacity</title>
|
|
|
|
<meta charset="utf-8">
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
|
<meta name="description" content="Wavacity is a port of the Audacity audio editor to the web browser. Free and open-source. No install required.">
|
|
<meta name="keywords" content="wavacity, wavvy, audio editor, online audio editor, music editor, sound editor, waveform editor, free audio editor, web audio editor">
|
|
<meta name="viewport" content="width=device-width, initial-scale=0.75">
|
|
|
|
<meta property="og:title" content="Wavacity | Online Audio Editor Based on Audacity" />
|
|
<meta property="og:url" content="https://wavacity.com/" />
|
|
<meta property="og:image" content="https://wavacity.com/images/screenshot.png" />
|
|
<meta property="og:description" content="Wavacity is a port of the Audacity audio editor to the web browser. Free and open-source. No install required.">
|
|
<meta property="og:type" content="website" />
|
|
|
|
<link rel="stylesheet" type="text/css" href="css/wavacity_0.1.37.css">
|
|
<link rel="shortcut icon" href="/favicon.ico">
|
|
|
|
<!-- Global site tag (gtag.js) - Google Analytics
|
|
<script async src="https://www.googletagmanager.com/gtag/js?id=G-X8B5RE90CJ"></script>
|
|
-->
|
|
<script async src="js/gtag.js?id=G-X8B5RE90CJ"></script>
|
|
<script>
|
|
window.dataLayer = window.dataLayer || [];
|
|
function gtag(){dataLayer.push(arguments);}
|
|
gtag('js', new Date());
|
|
|
|
gtag('config', 'G-X8B5RE90CJ');
|
|
</script>
|
|
|
|
<!-- Amplitude -->
|
|
<script type="text/javascript">
|
|
(function(e,t){var n=e.amplitude||{_q:[],_iq:{}};var r=t.createElement("script")
|
|
;r.type="text/javascript"
|
|
;r.integrity="sha384-u0hlTAJ1tNefeBKwiBNwB4CkHZ1ck4ajx/pKmwWtc+IufKJiCQZ+WjJIi+7C6Ntm"
|
|
;r.crossOrigin="anonymous";r.async=true
|
|
;r.src="js/amplitude-8.1.0-min.js"
|
|
;r.onload=function(){if(!e.amplitude.runQueuedFunctions){
|
|
console.log("[Amplitude] Error: could not load SDK")}}
|
|
;var i=t.getElementsByTagName("script")[0];i.parentNode.insertBefore(r,i)
|
|
;function s(e,t){e.prototype[t]=function(){
|
|
this._q.push([t].concat(Array.prototype.slice.call(arguments,0)));return this}}
|
|
var o=function(){this._q=[];return this}
|
|
;var a=["add","append","clearAll","prepend","set","setOnce","unset","preInsert","postInsert","remove"]
|
|
;for(var c=0;c<a.length;c++){s(o,a[c])}n.Identify=o;var u=function(){this._q=[]
|
|
;return this}
|
|
;var l=["setProductId","setQuantity","setPrice","setRevenueType","setEventProperties"]
|
|
;for(var p=0;p<l.length;p++){s(u,l[p])}n.Revenue=u
|
|
;var d=["init","logEvent","logRevenue","setUserId","setUserProperties","setOptOut","setVersionName","setDomain","setDeviceId","enableTracking","setGlobalUserProperties","identify","clearUserProperties","setGroup","logRevenueV2","regenerateDeviceId","groupIdentify","onInit","logEventWithTimestamp","logEventWithGroups","setSessionId","resetSessionId"]
|
|
;function v(e){function t(t){e[t]=function(){
|
|
e._q.push([t].concat(Array.prototype.slice.call(arguments,0)))}}
|
|
for(var n=0;n<d.length;n++){t(d[n])}}v(n);n.getInstance=function(e){
|
|
e=(!e||e.length===0?"$default_instance":e).toLowerCase()
|
|
;if(!Object.prototype.hasOwnProperty.call(n._iq,e)){n._iq[e]={_q:[]};v(n._iq[e])
|
|
}return n._iq[e]};e.amplitude=n})(window,document);
|
|
|
|
amplitude.getInstance().init("b4b0592fe52ae1b68c051dd09108e5d8");
|
|
</script>
|
|
</head>
|
|
|
|
<body class="overflow-hidden">
|
|
<div id="splash-screen">
|
|
<div id="splash-header">
|
|
<h1 id="splash-title">wavacity</h1>
|
|
<div id="splash-menu">
|
|
<a href="/support.html" target="_blank" rel="noopener">Support</a>
|
|
<a href="/privacy.html" target="_blank" rel="noopener">Privacy</a>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="screenshot-container">
|
|
<img id="screenshot" src="/images/screenshot.png" width="800" alt="Wavacity screenshot">
|
|
<div id="progress-container">
|
|
<div id="progress-text">Loading...</div>
|
|
<div id="progress-bar">
|
|
<div id="progress-bar-position">
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div id="splash-description">
|
|
<p>Wavacity is a port of the Audacity® audio editor to the web browser.
|
|
It is free, <a href="https://github.com/ahilss/wavacity">open-source</a> software released under the
|
|
<a href="https://github.com/ahilss/wavacity/blob/master/LICENSE.txt">GNU GPL v2</a>. No install required.
|
|
</p>
|
|
<p>
|
|
You can download the original Audacity software from <a href="https://www.audacityteam.org/">The Audacity Team</a>.
|
|
Wavacity is neither affiliated with nor endorsed by Audacity.
|
|
</p>
|
|
</div>
|
|
<div class="bold"> </div>
|
|
</div>
|
|
|
|
<div id="main-window"></div>
|
|
<div id="window-container"></div>
|
|
|
|
<script>
|
|
var mainWindow = document.getElementById('main-window');
|
|
var statusElement = document.getElementById('progress-text');
|
|
var progressElement = document.getElementById('progress-bar-position');
|
|
|
|
var moduleBytesLoaded = 0;
|
|
var dataBytesLoaded = 0;
|
|
var totalDownloadSize = 0;
|
|
|
|
var showSplash = function (show) {
|
|
var element = document.getElementById('splash-screen');
|
|
element.style.display = show ? 'block' : 'none';
|
|
};
|
|
|
|
var updateProgress = function () {
|
|
if (totalDownloadSize > 0) {
|
|
var bytesLoaded = moduleBytesLoaded + dataBytesLoaded;
|
|
progressElement.style.width = 100 * bytesLoaded / totalDownloadSize + '%';
|
|
progressElement.hidden = false;
|
|
}
|
|
};
|
|
|
|
var updateModuleProgress = function (bytesLoaded, totalSize) {
|
|
moduleBytesLoaded = bytesLoaded;
|
|
totalDownloadSize = totalSize;
|
|
updateProgress();
|
|
};
|
|
|
|
var updateDataProgress = function (bytesLoaded) {
|
|
dataBytesLoaded = bytesLoaded;
|
|
updateProgress();
|
|
};
|
|
|
|
var setStatus = function (text) {
|
|
var m = text.match(/([^(]+)\((\d+(\.\d+)?)\/(\d+)\)/);
|
|
if (m) {
|
|
updateDataProgress(parseInt(m[2], 10));
|
|
} else {
|
|
statusElement.innerHTML = text;
|
|
}
|
|
};
|
|
|
|
var fetchWithProgress = async function (path, options) {
|
|
const response = await fetch(path, options);
|
|
|
|
if (typeof TransformStream !== 'undefined') {
|
|
var total;
|
|
|
|
const pathParts = path.split('.');
|
|
if (pathParts.length > 1) {
|
|
const length = parseInt(pathParts[pathParts.length - 2], 10);
|
|
if (!isNaN(length)) {
|
|
total = length;
|
|
}
|
|
}
|
|
if (!total) {
|
|
const length = response.headers.get("Content-Length");
|
|
total = parseInt(length, 10);
|
|
}
|
|
|
|
let bytesLoaded = 0;
|
|
const ts = new TransformStream({
|
|
transform (chunk, ctrl) {
|
|
bytesLoaded += chunk.byteLength;
|
|
setStatus('Loading...');
|
|
updateModuleProgress(bytesLoaded, total);
|
|
ctrl.enqueue(chunk)
|
|
}
|
|
});
|
|
|
|
return new Response(response.body.pipeThrough(ts), response);
|
|
} else {
|
|
return response;
|
|
}
|
|
};
|
|
|
|
var decodeQueryString = function (queryString) {
|
|
var output = {};
|
|
|
|
// stuff separated by =, separated by &
|
|
var re = /([^=&]+)(=([^&]*))?/g;
|
|
var match;
|
|
while (match = re.exec(queryString)) {
|
|
var key = decodeURIComponent(match[1].replace(/\+/g, ' '));
|
|
// skip parsing keys without values: 'key&k1=v1' -> {"k1": "v1"}
|
|
if (!match[2]) {
|
|
continue;
|
|
}
|
|
// if missing value = empty string: 'k1=&k2=' -> {"k1": "", "k2": ""}
|
|
var value = '';
|
|
if (match[3]) {
|
|
value = decodeURIComponent(match[3].replace(/\+/g, ' '));
|
|
}
|
|
|
|
output[key] = value;
|
|
}
|
|
|
|
return output;
|
|
};
|
|
|
|
var setModuleArgs = function () {
|
|
var args = [];
|
|
|
|
var queryParams = decodeQueryString(window.location.search.slice(1));
|
|
Module['queryParams'] = queryParams;
|
|
|
|
for (var key in queryParams) {
|
|
args.push('--' + key + '=' + queryParams[key]);
|
|
}
|
|
|
|
Module['arguments'] = args;
|
|
console.log('launched with args: ' + args);
|
|
};
|
|
|
|
var createCanvas = function () {
|
|
var canvas = document.createElement('canvas');
|
|
canvas.id = 'canvas';
|
|
canvas.style.display = 'none';
|
|
canvas.style.width = window.innerWidth + 'px';
|
|
canvas.style.height = window.innerHeight + 'px';
|
|
canvas.oncontextmenu = function () { event.preventDefault(); }
|
|
|
|
mainWindow.appendChild(canvas);
|
|
|
|
Module.canvas = canvas;
|
|
};
|
|
|
|
var onPreRun = function () {
|
|
setModuleArgs();
|
|
createCanvas();
|
|
};
|
|
|
|
var onRuntimeInitialized = function () {
|
|
showSplash(false);
|
|
|
|
var canvas = Module.canvas;
|
|
canvas.style.display = 'block';
|
|
//amplitude.getInstance().logEvent('run');
|
|
};
|
|
|
|
var Module = {
|
|
preRun: [onPreRun],
|
|
postRun: [],
|
|
print: function(text) {
|
|
if (arguments.length > 1) {
|
|
text = Array.prototype.slice.call(arguments).join(' ');
|
|
}
|
|
console.log(text);
|
|
},
|
|
printErr: function(text) {
|
|
if (arguments.length > 1) {
|
|
text = Array.prototype.slice.call(arguments).join(' ');
|
|
}
|
|
console.error(text);
|
|
},
|
|
setStatus: setStatus,
|
|
totalDependencies: 0,
|
|
onRuntimeInitialized: onRuntimeInitialized
|
|
};
|
|
|
|
if (typeof WebAssembly !== 'object' || typeof SharedArrayBuffer !== 'function') {
|
|
Module.setStatus('Unsupported browser: use desktop Chrome or Firefox');
|
|
} else {
|
|
showSplash(true);
|
|
Module.setStatus('Loading...');
|
|
}
|
|
window.onerror = function(message, file, line, column, error) {
|
|
console.log('Exception thrown: ' + message);
|
|
if (message == 'Script error.' && (!error || !error.stack)) {
|
|
return;
|
|
}
|
|
//amplitude.getInstance().logEvent('error');
|
|
var trace = error && error.stack ? message + '\n' + error.stack : message;
|
|
//sendCrashReport(null, trace, APP_NAME, APP_VERSION);
|
|
};
|
|
</script>
|
|
<script async type="text/javascript" src="wavacity_0.1.37_wasm32.js"></script>
|
|
</body>
|
|
</html>
|