rpi: Google — календарь и Gmail (только чтение) для Astra; fr1: страницы OAuth на www.ruzzy.dev/astra
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
d28fe9f5be
commit
f87fcd1f5a
@@ -0,0 +1,7 @@
|
||||
# www.ruzzy.dev/astra — страницы для Google OAuth (Branding)
|
||||
|
||||
Домашняя страница и privacy policy OAuth-приложения «Astra» (Google Cloud, проект `astra`,
|
||||
личный аккаунт владельца) — см. `servers/rpi.md`, раздел «Google». Отдаёт vhost `www.ruzzy.dev`
|
||||
на fr1 (корень `/var/www/share.ruzzy.dev`, `try_files $uri =404` — ссылки только с `.html`).
|
||||
|
||||
Установка на fr1: скопировать каталог в `~/www-ruzzy` и `sudo sh ~/www-ruzzy/install.sh`.
|
||||
@@ -0,0 +1,12 @@
|
||||
<!doctype html>
|
||||
<html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1">
|
||||
<title>Astra</title>
|
||||
<style>body{font:16px/1.5 system-ui,sans-serif;max-width:640px;margin:40px auto;padding:0 16px;color:#222}</style>
|
||||
</head><body>
|
||||
<h1>Astra</h1>
|
||||
<p>Astra is a private home assistant run by Ruslan Gilfanov for personal and family use only.
|
||||
It is not offered to the public.</p>
|
||||
<p>It uses the Google Calendar API to show the owner's agenda and to create or change events in the owner's
|
||||
own Google Calendar on request.</p>
|
||||
<p><a href="privacy.html">Privacy policy</a> · Contact: ruslan.gilfanov@gmail.com</p>
|
||||
</body></html>
|
||||
@@ -0,0 +1,21 @@
|
||||
<!doctype html>
|
||||
<html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1">
|
||||
<title>Astra — Privacy policy</title>
|
||||
<style>body{font:16px/1.5 system-ui,sans-serif;max-width:640px;margin:40px auto;padding:0 16px;color:#222}</style>
|
||||
</head><body>
|
||||
<h1>Astra — Privacy policy</h1>
|
||||
<p>Last updated: 2026-10-12.</p>
|
||||
<p>Astra is a private assistant used only by its owner (Ruslan Gilfanov) and his family. It is not a public service.</p>
|
||||
<h2>Data accessed</h2>
|
||||
<p>With the owner's consent Astra accesses the owner's Google Calendar (events and calendars visible to the owner's
|
||||
Google account) to show the agenda, find free time and create, change or delete events at the owner's request.</p>
|
||||
<h2>Storage and sharing</h2>
|
||||
<p>The OAuth token and calendar data are processed on the owner's own home server only. Data is not sold,
|
||||
shared with third parties or used for advertising. Calendar data is not used to train AI models.</p>
|
||||
<p>The use of information received from Google APIs adheres to the
|
||||
<a href="https://developers.google.com/terms/api-services-user-data-policy">Google API Services User Data Policy</a>,
|
||||
including the Limited Use requirements.</p>
|
||||
<h2>Revoking access</h2>
|
||||
<p>Access can be revoked at any time at <a href="https://myaccount.google.com/permissions">myaccount.google.com/permissions</a>.</p>
|
||||
<p>Contact: ruslan.gilfanov@gmail.com</p>
|
||||
</body></html>
|
||||
@@ -0,0 +1,9 @@
|
||||
#!/bin/sh
|
||||
# Страницы Astra для Google OAuth Branding (homepage + privacy policy) → https://www.ruzzy.dev/astra/
|
||||
# Запуск на fr1: sudo sh ~/www-ruzzy/install.sh
|
||||
set -e
|
||||
src=$(dirname "$0")/astra
|
||||
install -d -o www-data -g www-data -m 755 /var/www/share.ruzzy.dev/astra
|
||||
install -o www-data -g www-data -m 644 "$src/index.html" "$src/privacy.html" /var/www/share.ruzzy.dev/astra/
|
||||
# /astra/ → index.html (vhost: try_files $uri =404, без index-каталога)
|
||||
ls -l /var/www/share.ruzzy.dev/astra
|
||||
Reference in New Issue
Block a user