그동안 쌓여 있던 미커밋 파일들을 정리. 소스·자산만 올리고, 개인 데이터와 런타임 상태는 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>
135 lines
4.5 KiB
HTML
135 lines
4.5 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<title>Wavacity — Audio Editor</title>
|
|
<meta charset="utf-8">
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=0.75">
|
|
<link rel="stylesheet" type="text/css" href="css/wavacity_0.1.37.css">
|
|
</head>
|
|
<body class="overflow-hidden">
|
|
<div id="splash-screen">
|
|
<div id="splash-header">
|
|
<h1 id="splash-title">wavacity</h1>
|
|
</div>
|
|
<div id="screenshot-container">
|
|
<img id="screenshot" src="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.</p>
|
|
</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 totalDownloadSize = 0;
|
|
|
|
var showSplash = function(show) {
|
|
document.getElementById('splash-screen').style.display = show ? 'block' : 'none';
|
|
};
|
|
|
|
var updateProgress = function() {
|
|
if (totalDownloadSize > 0) {
|
|
progressElement.style.width = 100 * moduleBytesLoaded / totalDownloadSize + '%';
|
|
progressElement.hidden = false;
|
|
}
|
|
};
|
|
|
|
var setStatus = function(text) {
|
|
var m = text.match(/([^(]+)\((\d+(\.\d+)?)\/(\d+)\)/);
|
|
if (!m) 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) total = parseInt(response.headers.get("Content-Length"), 10);
|
|
let bytesLoaded = 0;
|
|
const ts = new TransformStream({
|
|
transform(chunk, ctrl) {
|
|
bytesLoaded += chunk.byteLength;
|
|
moduleBytesLoaded = bytesLoaded;
|
|
totalDownloadSize = total;
|
|
updateProgress();
|
|
ctrl.enqueue(chunk);
|
|
}
|
|
});
|
|
return new Response(response.body.pipeThrough(ts), response);
|
|
}
|
|
return response;
|
|
};
|
|
|
|
var decodeQueryString = function(queryString) {
|
|
var output = {};
|
|
var re = /([^=&]+)(=([^&]*))?/g;
|
|
var match;
|
|
while (match = re.exec(queryString)) {
|
|
var key = decodeURIComponent(match[1].replace(/\+/g, ' '));
|
|
if (!match[2]) continue;
|
|
output[key] = match[3] ? decodeURIComponent(match[3].replace(/\+/g, ' ')) : '';
|
|
}
|
|
return output;
|
|
};
|
|
|
|
var Module = {
|
|
preRun: [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;
|
|
|
|
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;
|
|
}],
|
|
postRun: [],
|
|
print: function(text) { console.log(text); },
|
|
printErr: function(text) { console.error(text); },
|
|
setStatus: setStatus,
|
|
totalDependencies: 0,
|
|
onRuntimeInitialized: function() {
|
|
showSplash(false);
|
|
Module.canvas.style.display = 'block';
|
|
}
|
|
};
|
|
|
|
if (typeof WebAssembly !== 'object' || typeof SharedArrayBuffer !== 'function') {
|
|
statusElement.innerHTML = 'SharedArrayBuffer가 필요합니다. Chrome/Firefox 최신 버전을 사용하세요.';
|
|
} else {
|
|
showSplash(true);
|
|
Module.setStatus('Loading...');
|
|
}
|
|
|
|
window.onerror = function(message, file, line, column, error) {
|
|
console.error('Exception:', message, error && error.stack);
|
|
};
|
|
</script>
|
|
<script async type="text/javascript" src="wavacity_0.1.37_wasm32.js"></script>
|
|
</body>
|
|
</html>
|