mirror of
https://github.com/mergisi/awesome-openclaw-agents.git
synced 2026-08-14 08:51:56 +00:00
17 lines
572 B
HTML
17 lines
572 B
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head><meta charset="UTF-8"><title>Code Explainer</title></head>
|
|
<body>
|
|
<script>
|
|
window['ai_edge_gallery_get_result'] = async (data) => {
|
|
const d = JSON.parse(data);
|
|
return JSON.stringify({
|
|
webview: {
|
|
url: `../assets/webview.html?language=${encodeURIComponent(d.language)}&snippet=${encodeURIComponent(d.snippet)}&summary=${encodeURIComponent(d.summary)}&how=${encodeURIComponent(d.how)}&tip=${encodeURIComponent(d.tip)}`
|
|
}
|
|
});
|
|
};
|
|
</script>
|
|
</body>
|
|
</html>
|