Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

[FEATURE]: SEO & SEM optimization sitemap, robots.txt, per-article metadata, and structured data

Aperta
#103 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
48/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Tranquilla
Stack tecnologico
next.js, typescript
Ambito
frontend, web-dev

Direzione di ricerca

Inizia leggendo app/a/[slug]/page.tsx, app/layout.tsx e la sorgente dati articles-index.json, quindi esamina la configurazione esistente di static-export. Implementa la sitemap, le regole robots, i metadati per articolo, i dati strutturati, il tag di verifica e il manifest descritti nell'issue, suddividendo il lavoro se necessario. Il lavoro è completato quando le route elencate e i metadati delle pagine esistono e gli strumenti forniti Rich Results, Search Console e PageSpeed possono convalidare il risultato.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

enhancement
Feature and its Use Cases

Since Stable Viewpoints is a blogging platform, SEO is pretty much the lifeline for organic traffic. Right now the site is missing some fundamental pieces that prevent search engines from properly indexing and ranking the articles.

I checked the live site and found these gaps:

  • No sitemap.xml : viewpoints.stability.nexus/sitemap.xml returns 404. Google literally can't discover our articles.
  • No robots.txt : viewpoints.stability.nexus/robots.txt also 404. No crawl instructions for any bot.
  • Every article shows the same title and description in search results : The <title> tag on all article pages just says "Stable Viewpoints" instead of the actual article title. Same issue with meta descriptions. This is because app/a/[slug]/page.tsx doesn't export a generateMetadata function.
  • Canonical URLs on all articles point to the homepage (/) : This makes Google think every article is a duplicate of the homepage. Huge ranking penalty.
  • No JSON-LD structured data : No BlogPosting or WebSite schema, so we'll never get rich results (article cards, breadcrumbs, etc.) in search.
  • No Google Search Console verification : We can't even monitor how Google sees the site.
What needs to be done
  1. Add app/sitemap.ts : Generate sitemap from articles-index.json with all article URLs, dates, and priorities
  2. Add app/robots.ts : Allow all crawlers, link to sitemap
  3. Add generateMetadata() to app/a/[slug]/page.tsx : Per-article title, description, OG tags, Twitter cards, and canonical URL
  4. Add JSON-LD structured data : WebSite + Organization on homepage, BlogPosting schema on each article page
  5. Add Google Search Console verification tag in app/layout.tsx
  6. Add public/manifest.json and link it in layout
How users (and the project) benefit
  • Articles actually show up in Google search with proper titles and descriptions
  • Each article gets its own rich preview when shared on Twitter/LinkedIn/Discord
  • GSC gives us data on impressions, clicks, and indexing issues
  • Sitemap lets Google discover new articles automatically after deploy

I'd suggest splitting this into 2-3 PRs by priority. happy to pick some of these up.

Additional Context

I used my own portfolio https://atharvanaik.me as a reference : it's built with the same stack (Next.js 15, App Router, static export) and has all of these implemented. Here are the specific files for reference:

  • sitemap.ts : dynamic sitemap generation from content
  • robots.ts : multi-bot rules with sitemap link
  • layout.tsx : JSON-LD schema, GSC verification, manifest
  • posts/page.tsx : per-page metadata + CollectionPage schema

Useful tools for validation after implementation:

Code of Conduct
  • I have joined the Discord server and will post updates there
  • I have searched existing issues to avoid duplicates
Lingua principale
TypeScript
Stelle
9
Fork
34
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di StabilityNexus/StableViewpoints

Tutte le issue di StabilityNexus/StableViewpoints

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.