Files
LihonT/src/web/neironka/index.html
cheb0chik b78266d40c LihonT 3 Luna beta 1: the site look, the floating island, full-screen video and the agent
The "Как сайт" look by default, also in TikTok's settings and all their sub-pages, where every item is its own rounded row.
The bottom bar floats as an island, 9:16 videos reach under it, the seek bar is lifted, thicker and on by default, the
comment input is an island too, and "only sound" downloads are saved as audio. The LihonT agent: a chat that makes cards and
slides for a photo post, looks things up on the web, signs in with Telegram and has a daily limit on the server. Also the
нейронка.рус landing page and the 3D-phone promo scripts.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-15 16:10:45 +03:00

215 lines
15 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<!doctype html>
<html lang="ru">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="color-scheme" content="light dark">
<meta name="theme-color" content="#ffffff" media="(prefers-color-scheme: light)">
<meta name="theme-color" content="#0d0d0f" media="(prefers-color-scheme: dark)">
<meta name="description" content="Нейронка внутри TikTok: агент LihonT пишет тексты и делает карточки и слайды для фото-поста прямо в приложении.">
<title>Нейронка — ИИ-агент LihonT</title>
<link rel="icon" type="image/svg+xml" href="https://lihont.space/logo_single_note.svg">
<style>
:root {
--bg: #ffffff; --fg: #0d0d0f; --muted: #6b6b73; --line: #e6e6ea; --panel: #f6f6f8; --panel2: #ececf0;
--accent: #0d0d0f; --onaccent: #ffffff; --radius: 22px;
font-family: "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
}
@media (prefers-color-scheme: dark) {
:root { --bg: #0d0d0f; --fg: #f2f2f4; --muted: #9a9aa3; --line: #26262b; --panel: #17171a; --panel2: #202024; --accent: #f2f2f4; --onaccent: #0d0d0f; }
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--fg); }
a { color: inherit; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 22px; }
header { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
header .wrap { display: flex; align-items: center; justify-content: space-between; height: 62px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; text-decoration: none; }
.brand i { width: 26px; height: 26px; border-radius: 9px; background: var(--accent); display: grid; place-items: center; color: var(--onaccent); font-style: normal; font-size: 15px; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; font-weight: 600; font-size: 15px; background: var(--bg); }
.btn--main { background: var(--accent); color: var(--onaccent); border-color: var(--accent); }
.hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; padding: 72px 0 56px; }
.chip { display: inline-block; padding: 6px 12px; border-radius: 999px; background: var(--panel); border: 1px solid var(--line); font-size: 13px; color: var(--muted); }
h1 { font-size: clamp(40px, 6vw, 68px); line-height: 1.02; letter-spacing: -0.03em; margin: 18px 0 18px; }
h1 em { font-style: normal; color: var(--muted); }
.lead { font-size: 19px; line-height: 1.5; color: var(--muted); margin: 0 0 28px; max-width: 520px; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; }
.soon { margin-top: 16px; font-size: 14px; color: var(--muted); }
/* the demo: a phone-like chat that types, thinks and answers with cards */
.demo { justify-self: center; width: min(100%, 380px); aspect-ratio: 9 / 18.5; border-radius: 44px; padding: 12px; background: var(--fg); box-shadow: 0 30px 80px rgba(0,0,0,.18); }
.screen { height: 100%; border-radius: 34px; background: var(--bg); overflow: hidden; display: flex; flex-direction: column; }
.bar { padding: 18px 18px 12px; display: flex; align-items: center; gap: 10px; border-bottom: 1px solid var(--line); font-weight: 600; }
.bar i { width: 30px; height: 30px; border-radius: 10px; background: var(--accent); color: var(--onaccent); display: grid; place-items: center; font-style: normal; font-size: 15px; }
.bar small { display: block; font-weight: 400; color: var(--muted); font-size: 12px; }
.talk { flex: 1; padding: 14px 14px; display: flex; flex-direction: column; gap: 10px; overflow: hidden; }
.msg { max-width: 82%; padding: 10px 14px; border-radius: 18px; font-size: 14px; line-height: 1.4; opacity: 0; transform: translateY(8px); transition: opacity .35s, transform .35s; }
.msg.on { opacity: 1; transform: none; }
.me { align-self: flex-end; background: var(--accent); color: var(--onaccent); border-bottom-right-radius: 6px; }
.ai { align-self: flex-start; background: var(--panel); border: 1px solid var(--line); border-bottom-left-radius: 6px; }
.dots { display: inline-flex; gap: 5px; padding: 4px 2px; }
.dots b { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: blink 1.2s infinite; }
.dots b:nth-child(2) { animation-delay: .15s; } .dots b:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 0%, 80%, 100% { opacity: .25; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; align-self: stretch; }
.card { aspect-ratio: 4 / 5; border-radius: 16px; padding: 10px; color: #fff; display: flex; flex-direction: column; justify-content: space-between; opacity: 0; transform: scale(.85) translateY(10px); transition: opacity .4s, transform .45s cubic-bezier(.2,.9,.3,1.3); overflow: hidden; position: relative; }
.card.on { opacity: 1; transform: none; }
.card .big { font-size: 30px; line-height: 1; }
.card h4 { margin: 0; font-size: 14px; line-height: 1.15; }
.card p { margin: 3px 0 0; font-size: 10.5px; line-height: 1.3; opacity: .92; }
.card .n { position: absolute; top: 9px; right: 10px; font-size: 10px; opacity: .8; }
.input { margin: 10px 12px 14px; display: flex; align-items: center; gap: 8px; padding: 6px 6px 6px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--panel); min-height: 46px; }
.typed { flex: 1; font-size: 14px; white-space: nowrap; overflow: hidden; }
.typed.empty { color: var(--muted); }
.caret { display: inline-block; width: 1.5px; height: 17px; background: var(--fg); vertical-align: -3px; margin-left: 1px; animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.send { width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: var(--onaccent); display: grid; place-items: center; font-size: 16px; transition: transform .15s; }
.send.press { transform: scale(.82); }
.note { text-align: center; font-size: 10.5px; color: var(--muted); margin: -8px 0 10px; }
section { padding: 56px 0; border-top: 1px solid var(--line); }
h2 { font-size: clamp(28px, 4vw, 40px); letter-spacing: -0.02em; margin: 0 0 26px; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.tile { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.tile b { display: block; font-size: 17px; margin-bottom: 8px; }
.tile span { color: var(--muted); line-height: 1.5; font-size: 15px; }
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.steps .tile::before { counter-increment: s; content: counter(s); display: grid; place-items: center; width: 30px; height: 30px; border-radius: 10px; background: var(--accent); color: var(--onaccent); font-weight: 700; margin-bottom: 14px; }
.fine { color: var(--muted); line-height: 1.6; max-width: 760px; }
footer { border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
@media (max-width: 860px) {
.hero { grid-template-columns: 1fr; padding-top: 40px; }
.grid, .steps { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .msg, .card { transition: none; } .dots b, .caret { animation: none; } }
</style>
</head>
<body>
<header>
<div class="wrap">
<a class="brand" href="/"><i>✦</i>Нейронка</a>
<a class="btn" href="https://lihont.space/">LihonT</a>
</div>
</header>
<main class="wrap">
<div class="hero">
<div>
<span class="chip">ИИ-агент LihonT · скоро</span>
<h1>Нейронка <em>внутри</em> TikTok</h1>
<p class="lead">Напишите, о чём пост, и агент сделает карточки и слайды для фото-поста прямо в приложении. Без копирования между сервисами и без своего ключа.</p>
<div class="cta">
<a class="btn btn--main" href="https://t.me/lihont">Следить в Telegram</a>
<a class="btn" href="https://lihont.space/ai/">Как это работает</a>
</div>
<p class="soon">Агент появится в следующей версии LihonT 3 · Luna. Сейчас он проходит тест.</p>
</div>
<div class="demo" aria-label="Пример: агент делает карточки о породах кошек">
<div class="screen">
<div class="bar"><i>✦</i><div>Агент<small>LihonT</small></div></div>
<div class="talk" id="talk"></div>
<div class="input"><div class="typed empty" id="typed">Спросите агента…</div><div class="send" id="send">↑</div></div>
<div class="note">ИИ может ошибаться</div>
</div>
</div>
</div>
<section>
<h2>Что он умеет</h2>
<div class="grid">
<div class="tile"><b>Карточки и слайды</b><span>Придумывает текст и раскладку и рисует картинки 9:16 для фото-поста. Цвета, шрифты и порядок можно поправить словами.</span></div>
<div class="tile"><b>Ищет в интернете</b><span>Находит страницы и картинки для слайдов. Поиск идёт с вашего телефона. Картинки со свободной лицензией лучше просить отдельно.</span></div>
<div class="tile"><b>Видит ваши фото</b><span>Приложите снимки из галереи, и агент соберёт из них карточки или напишет подпись к посту.</span></div>
</div>
</section>
<section>
<h2>Как начать</h2>
<div class="steps">
<div class="tile"><b>Установите LihonT</b><span>Мод для TikTok, скачивается на lihont.space.</span></div>
<div class="tile"><b>Откройте агента</b><span>Настройки мода, раздел «Агент».</span></div>
<div class="tile"><b>Войдите через Telegram</b><span>Так у каждого свой лимит. Других данных не нужно.</span></div>
<div class="tile"><b>Пишите</b><span>Готовые картинки откроются в экране публикации TikTok. Кнопку «Опубликовать» нажимаете вы.</span></div>
</div>
</section>
<section>
<h2>Бесплатно и честно</h2>
<p class="fine">10 сообщений в день на человека, вход через Telegram. Запросы идут через сервер LihonT в языковую модель (сейчас Gemini от Google). Сервер не хранит переписку: он помнит только ваш Telegram-ID и счётчик сообщений за день. Агент сам ничего не публикует и не читает ваши чаты. ИИ может ошибаться, поэтому проверяйте всё перед публикацией. Подробно на странице <a href="https://lihont.space/ai/">lihont.space/ai</a>.</p>
</section>
</main>
<footer>
<div class="wrap">
<span>© 2026 LihonT · нейронка.рус</span>
<span><a href="https://lihont.space/">lihont.space</a> · <a href="https://t.me/lihont">@lihont</a></span>
</div>
</footer>
<script>
(function () {
var talk = document.getElementById("talk"), typed = document.getElementById("typed"), send = document.getElementById("send");
var ask = "Сделай 4 карточки про породы кошек";
var cats = [
["🦁", "Мейн-кун", "Один из самых крупных: до 9 кг и пушистые «кисточки» на ушах.", "#c2753a", "#7a3f17"],
["🌙", "Сфинкс", "Почти без шерсти, тёплый на ощупь и очень ласковый.", "#a07a9c", "#4e3550"],
["☁️", "Британская", "Плотная плюшевая шерсть, круглые щёки и спокойный нрав.", "#6f8296", "#33414f"],
["💎", "Сиамская", "Голубые глаза, тёмная мордочка и громкий голос.", "#c9a46a", "#6d5228"]
];
var still = window.matchMedia && window.matchMedia("(prefers-reduced-motion: reduce)").matches;
function wait(ms) { return new Promise(function (r) { setTimeout(r, still ? 0 : ms); }); }
function bubble(cls, html) {
var el = document.createElement("div");
el.className = "msg " + cls;
el.innerHTML = html;
talk.appendChild(el);
setTimeout(function () { el.classList.add("on"); }, 30);
return el;
}
async function run() {
for (;;) {
talk.innerHTML = "";
typed.className = "typed empty";
typed.textContent = "Спросите агента…";
await wait(900);
typed.className = "typed";
for (var i = 1; i <= ask.length; i++) {
typed.innerHTML = ask.slice(0, i) + '<span class="caret"></span>';
await wait(45 + Math.random() * 55);
}
await wait(450);
send.classList.add("press");
await wait(140);
send.classList.remove("press");
typed.className = "typed empty";
typed.textContent = "Спросите агента…";
bubble("me", ask);
await wait(500);
var think = bubble("ai", '<span class="dots"><b></b><b></b><b></b></span>');
await wait(1900);
think.innerHTML = "Готово! Вот 4 карточки для фото-поста:";
await wait(400);
var grid = document.createElement("div");
grid.className = "cards";
talk.appendChild(grid);
for (var c = 0; c < cats.length; c++) {
var k = cats[c], card = document.createElement("div");
card.className = "card";
card.style.background = "linear-gradient(160deg," + k[3] + "," + k[4] + ")";
card.innerHTML = '<span class="n">' + (c + 1) + "/4</span><div class=\"big\">" + k[0] + "</div><div><h4>" + k[1] + "</h4><p>" + k[2] + "</p></div>";
grid.appendChild(card);
await wait(60);
card.classList.add("on");
await wait(380);
}
await wait(4200);
}
}
run();
})();
</script>
</body>
</html>