Skip to content

About

Promotional srht.site website for AirlinesGroupTravel.com with admin portal for blog posts, flight pages and leads

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

AGT-Tinyhost

Promotional website for AirlinesGroupTravel.com with a live admin for blog posts and flight pages. 100% free: no servers, no paid plans.


How it works (all free)

  You, in the live admin (/admin/)
     │  write / edit / delete a post
     ▼
  GitHub repo (content/*.json + images)
     │  every save = a commit
     ▼
  GitHub Actions: npm run build ──► GitHub Pages ──► visitors
  (pages, sitemap.xml, robots.txt, llms.txt, llms-full.txt, RSS – about 1 minute)
Piece Free service
Website hosting GitHub Pages (public repo)
Rebuild on every save + daily run for scheduled posts GitHub Actions (unlimited for public repos)
Blog / flight page storage JSON files in this repo (content/blog, content/flights), images in content/uploads
Admin A static page; it talks to the GitHub API directly from your browser

Features

Area What you get
Pages Home, Group Travel, Flights (index + pages), Blog (index + posts, paginated), About, Contact, Privacy, Disclaimer, Thank-you, 404
SEO Unique title/description, canonical, robots meta, hreflang, Open Graph, Twitter card (summary_large_image), article meta
Schema (JSON-LD) TravelAgency/Organization, WebSite, WebPage, BreadcrumbList, BlogPosting, Service, FAQPage, Blog, CollectionPage, AboutPage, ContactPage
Breadcrumbs Visible breadcrumb trail plus matching schema on every inner page
Auto-generated sitemap.xml (lastmod + images, styled), robots.txt, llms.txt, llms-full.txt, feed.xml, site.webmanifest
Icons favicon.svg, favicon.ico, apple-touch-icon.png, PWA icons, 1200×630 og-image.png
Live admin: content Quill rich-text editor, raw HTML mode, image uploads, cover image, slug control, draft / publish / schedule, tags, FAQ builder, SEO fields with counters and a Google preview, deploy status
Live admin: flight pages Same editor plus Airline / From / To / “Group fares from”
Lead capture No forms (by choice): every page has call and email buttons

One-time setup

1. Live admin sign-in (GitHub token)

The admin saves posts into this repo, so it needs a GitHub token that can only touch this one repo.

  1. Open https://github.com/settings/personal-access-tokens/new (a fine-grained token).
  2. Name: AGT admin. Expiration: the longest offered. When it expires, make a new one the same way.
  3. Repository access: Only select repositories → alphaneeraj/AGT-Tinyhost.
  4. Permissions → Repository permissions:
    • Contents: Read and write (required, to save posts and images)
    • Actions: Read-only (optional, shows “Site is up to date / updating…” in the admin)
  5. Click Generate token and copy it (it starts with github_pat_).
  6. Open the live admin and paste it into GitHub access token.

The token is stored only in your browser. Use Sign out on shared computers.


Day-to-day

  • New blog post: Admin → Blog posts → + New blog post → write → Publish. It's live in about a minute. The sitemap, RSS, llms*.txt, homepage cards and related posts all update.
  • Schedule a post: set a future Publish date and click Publish. The daily build (06:00 UTC) puts it live on that day.
  • Flight pages: Admin → Flight pages → + New flight page.
  • Unpublish: open the post → Save draft.

Settings (site.config.json)

Key Meaning
siteUrl Public URL of the site (used in canonical URLs, sitemap, OG tags).
repo / branch Where the admin saves content.
googleSiteVerification Google Search Console verification code (added as a meta tag on every page).

Local preview (optional)

Requires Node.js 22.13+.

npm install
npm run preview      # http://localhost:3000/AGT-Tinyhost/

Optional copy on tiiny.host (free plan)

npm run zip writes agt-site.zip, a brochure-only copy for tiiny.host. tiiny.host's free-plan scanner rejects uploads with login pages or airline-brand lists (they look like phishing or fake airline support). So this copy has no admin page and no airline list. Its canonical URLs point to the GitHub Pages site. Upload it at https://tiiny.host/manage. It does not update by itself; re-run npm run zip and re-upload after new posts.

Project layout

.github/workflows/deploy.yml   Build + deploy to GitHub Pages on every push and daily
site.config.json               Site URL, repo, Search Console code
content/                       Posts (blog/, flights/) and uploaded images – written by the admin
admin/                         Live admin (static HTML/CSS/JS; Quill is copied in at build time)
src/config.js                  Config + brand facts (phone, address, social links)
src/content.js                 Reads posts from content/
src/build.js                   Static site generator, sitemap, robots, llms, RSS, manifest
src/templates/                 HTML layout, SEO head, schema, page templates
public/                        CSS, JS, icons copied into every build
scripts/                       build, preview, zip, icon generation

About

Promotional srht.site website for AirlinesGroupTravel.com with admin portal for blog posts, flight pages and leads

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages