sunsay.ru — portfolio / always-on programmer (migrated snapshot from GitHub)
  • TypeScript 69.3%
  • Astro 25%
  • CSS 1.9%
  • Shell 1.3%
  • JavaScript 1.1%
  • Other 1.4%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
agent d0474d7fda Initial import: snapshot of master from GitHub maprox/sunsay.ru
Flat history on git.primne.com (maprox/sunsay.ru). GitHub remote kept as github.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-29 04:29:44 +00:00
.vscode Initial import: snapshot of master from GitHub maprox/sunsay.ru 2026-08-29 04:29:44 +00:00
k8s Initial import: snapshot of master from GitHub maprox/sunsay.ru 2026-08-29 04:29:44 +00:00
public Initial import: snapshot of master from GitHub maprox/sunsay.ru 2026-08-29 04:29:44 +00:00
scripts Initial import: snapshot of master from GitHub maprox/sunsay.ru 2026-08-29 04:29:44 +00:00
src Initial import: snapshot of master from GitHub maprox/sunsay.ru 2026-08-29 04:29:44 +00:00
.dockerignore Initial import: snapshot of master from GitHub maprox/sunsay.ru 2026-08-29 04:29:44 +00:00
.gitignore Initial import: snapshot of master from GitHub maprox/sunsay.ru 2026-08-29 04:29:44 +00:00
.nvmrc Initial import: snapshot of master from GitHub maprox/sunsay.ru 2026-08-29 04:29:44 +00:00
AGENTS.md Initial import: snapshot of master from GitHub maprox/sunsay.ru 2026-08-29 04:29:44 +00:00
astro.config.mjs Initial import: snapshot of master from GitHub maprox/sunsay.ru 2026-08-29 04:29:44 +00:00
Dockerfile Initial import: snapshot of master from GitHub maprox/sunsay.ru 2026-08-29 04:29:44 +00:00
eslint.config.js Initial import: snapshot of master from GitHub maprox/sunsay.ru 2026-08-29 04:29:44 +00:00
nginx.conf Initial import: snapshot of master from GitHub maprox/sunsay.ru 2026-08-29 04:29:44 +00:00
package-lock.json Initial import: snapshot of master from GitHub maprox/sunsay.ru 2026-08-29 04:29:44 +00:00
package.json Initial import: snapshot of master from GitHub maprox/sunsay.ru 2026-08-29 04:29:44 +00:00
README.md Initial import: snapshot of master from GitHub maprox/sunsay.ru 2026-08-29 04:29:44 +00:00
tsconfig.json Initial import: snapshot of master from GitHub maprox/sunsay.ru 2026-08-29 04:29:44 +00:00

sunsay.ru

Персональный сайт-портфолио Александра Ляпко. Статический сайт на Astro с интерактивным фоном на Three.js.

Разработка

npm install
npm run dev

Dev-сервер: http://localhost:4321. Требуется Node.js ≥ 22.12 (см. .nvmrc).

Команда Описание
npm run dev Локальный dev-сервер
npm run build Production-сборка в ./dist/
npm run preview Просмотр production-сборки локально
npm run lint ESLint
npm run check Проверка типов (Astro + TypeScript)

Деплой

Сайт — статический (output: static). Артефакт: папка dist/.

Параметр Знажение
Build command npm run build
Output directory dist
Node.js 22

Перед выкладкой: npm run lint && npm run check && npm run build && npm run preview.

Docker

docker build -t maprox/sunsay.ru:latest .
docker run --rm -p 8080:80 maprox/sunsay.ru:latest

Kubernetes

Манифесты в k8s/: namespace, Deployment (nginx), Service, Ingress с TLS.

docker login
npm run deploy

Скрипт собирает образ, пушит в Docker Hub и применяет манифесты. Без пересборки: ./scripts/deploy.sh --skip-build (или -SkipBuild в PowerShell).