Skip to content

Conversation

@konard
Copy link
Contributor

@konard konard commented Oct 30, 2025

Summary

This PR implements a static GitHub Pages website for displaying verified facts, statements, and hypotheses with multi-language support, as requested in issue #22.

Features Implemented

Core Functionality

  • Multi-language support: English, Russian, Spanish, French, and German
  • Language selection: Users can select which languages to display with localStorage persistence
  • Fact categorization: Facts, statements, and hypotheses with clear status indicators
  • Status indicators:
    • Likely True (green)
    • Likely False (red)
    • Unclear/Hypothesis (yellow)
  • Confirmations and refutations: Each fact includes supporting and contradicting evidence
  • Language fallback: If no references exist in selected languages, shows references in other languages with markers
  • Public domain: All content is clearly marked as public domain

Technical Implementation

  • Pure HTML/CSS/JavaScript: No build step required, works directly on GitHub Pages
  • Responsive design: Mobile-friendly layout
  • Clean UI: Professional, accessible design with good UX
  • Modular structure: Easy to add new facts using provided template

Structure

docs/
├── index.html              # Main page listing all facts
├── styles.css              # Global styles
├── main.js                 # Language selection logic
├── _config.yml             # GitHub Pages configuration
├── README.md               # Documentation
└── facts/
    ├── TEMPLATE.html       # Template for adding new facts
    ├── fact-001.html       # Example: Earth is Round
    ├── fact-002.html       # Example: Water Boils at 100°C
    └── hypothesis-001.html # Example: AI Will Replace All Jobs

Example Content

Three example entries are included:

  1. Fact: Earth is Round - Demonstrates a well-established scientific fact
  2. Fact: Water Boils at 100°C - Shows a fact with important clarifications
  3. Hypothesis: AI Will Replace All Jobs - Demonstrates an unclear/debated hypothesis

Each includes:

  • Statement in 5 languages
  • Multiple references with language tags
  • Confirmations and refutations
  • Public domain attribution

Next Steps to Enable

To make the website live:

  1. Go to repository SettingsPages
  2. Set source to "Deploy from a branch"
  3. Select branch: main (after this PR is merged)
  4. Set folder: /docs
  5. Save

The site will be available at: https://deep-assistant.github.io/master-plan/

How to Add New Facts

  1. Copy docs/facts/TEMPLATE.html
  2. Replace placeholders with actual content
  3. Add translations for all supported languages
  4. Include references with proper language tags
  5. Update docs/index.html to add the fact to the listing

Alignment with Issue Requirements

  • Each page contains statement in all supported languages
  • User can select which languages to show
  • Confirmations with links in all supported languages
  • Refutations with links in all supported languages
  • If no confirmations/refutations in selected languages, shows other languages with marking
  • All data is in public domain
  • Static GitHub Pages website

Testing

All pages are functional and ready to deploy. The language selection feature works correctly with localStorage persistence. The responsive design adapts well to different screen sizes.


Fixes #22

Co-Authored-By: Claude noreply@anthropic.com

Adding CLAUDE.md with task information for AI processing.
This file will be removed when the task is complete.

Issue: undefined
@konard konard self-assigned this Oct 30, 2025
Implements a multi-language static website for displaying verified facts,
statements, and hypotheses with supporting evidence.

Features:
- Multi-language support (EN, RU, ES, FR, DE)
- Language selection with localStorage persistence
- Fact status indicators (Likely True, False, Unclear)
- Confirmations and refutations with references
- Responsive design
- Public domain content
- Three example entries (2 facts, 1 hypothesis)

Structure:
- Main index page listing all facts
- Individual fact pages with detailed information
- Reusable template for adding new facts
- GitHub Pages ready (_config.yml)

Next steps:
- Enable GitHub Pages in repository settings
- Point to /docs folder as source
- Site will be live at: https://deep-assistant.github.io/master-plan/

Fixes #22

Co-Authored-By: Claude <noreply@anthropic.com>
@konard konard changed the title [WIP] Make public facts/statements/hypothesis static GitHub pages website Add public facts database static website for GitHub Pages Oct 30, 2025
@konard konard marked this pull request as ready for review October 30, 2025 05:00
@konard
Copy link
Contributor Author

konard commented Oct 30, 2025

🤖 Solution Draft Log

This log file contains the complete execution trace of the AI solution draft process.

📎 Log file uploaded as GitHub Gist (207KB)
🔗 View complete solution draft log


Now working session is ended, feel free to review and add any feedback on the solution draft.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Make public facts/statements/hypothesis static GitHub pages website

2 participants