# RT4Freedom - Static Archive

[![Static Site](https://img.shields.io/badge/Static-Site-blue.svg)](https://rt4freedom.fidh.org)
[![Archive](https://img.shields.io/badge/Status-Archive-orange.svg)](https://rt4freedom.fidh.org)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](LICENSE)

**This is a static archive.** Content is no longer updated.

## Overview

RT4Freedom is a static HTML archive of the FIDH (International Federation for Human Rights) campaign "Retweet for Freedom". This campaign aimed to raise awareness about human rights defenders imprisoned for their tweets.

> **📁 ARCHIVE NOTICE**: This is a static archive from 2016. The content is preserved for historical reference and is no longer actively maintained or updated.

## Languages

The site is available in three languages:
- **Français** (French) - `/fr/`
- **English** - `/en/`
- **العربية** (Arabic) - `/ar/`

## Project Structure

```
rt4freedom/
├── index.html                 # Redirects to fr/
├── fr/
│   └── index.html             # French version
├── en/
│   └── index.html             # English version
├── ar/
│   └── index.html             # Arabic version
├── assets/
│   ├── css/
│   │   └── main.css           # Main stylesheet
│   ├── js/
│   │   ├── main.js            # Main JavaScript
│   │   └── lib/               # Third-party libraries
│   ├── favicon/               # Favicon files
│   └── img/                   # Image assets
├── .htaccess                  # Apache security configuration
├── robots.txt                # Crawler instructions
├── sitemap.xml               # Sitemap for search engines
├── security.txt              # Security policy
├── ai.txt                    # AI crawler instructions
├── .gitignore                # Git ignore rules
├── .pre-commit-config.yaml   # Pre-commit hooks
├── README.md                 # This file
└── LICENSE                   # License information
```

## Security Features

This site implements comprehensive security best practices:

### HTTP Security Headers

- **Content Security Policy (CSP)**: Restricts sources for scripts, styles, and other resources
- **X-XSS-Protection**: Enables browser XSS filtering
- **X-Content-Type-Options**: Prevents MIME type sniffing
- **X-Frame-Options**: Prevents clickjacking attacks
- **Referrer-Policy**: Controls referrer information
- **Permissions-Policy**: Restricts browser features
- **Cross-Origin Policies**: COEP, COOP, CORP for security isolation

### Server Configuration

- Blocked access to sensitive files and directories
- Disabled directory listing
- Disabled server signature
- Protection against SQL injection and common exploits
- Hotlinking protection
- Proper MIME types configuration

### Privacy

- **No tracking**: Removed Google Analytics and Facebook SDK
- **GDPR compliant**: No personal data collection
- **Archive status**: Clearly marked as static archive

## Development

### Prerequisites

- Apache 2.4+ (recommended)

### Installation

1. Clone the repository:
   ```bash
   git clone https://github.com/fidh/rt4freedom.git
   cd rt4freedom
   ```

2. Ensure Apache is configured with `mod_headers`, `mod_expires`, `mod_deflate`, and `mod_rewrite` enabled.

3. Point your web server to the repository root.

### Local Development

For local testing, you can use Python's built-in HTTP server:

```bash
# Python 3
python3 -m http.server 8000
```

Then open `http://localhost:8000` in your browser.

### Pre-commit Hooks

This project uses [pre-commit](https://pre-commit.com) for code quality checks:

1. Install pre-commit:
   ```bash
   pip install pre-commit
   ```

2. Install the hooks:
   ```bash
   pre-commit install
   ```

3. Run manually:
   ```bash
   pre-commit run --all-files
   ```

The hooks include:
- JSON validation
- YAML validation
- Trailing whitespace removal
- End-of-file fixer

## Deployment

### Manual Deployment

1. Ensure all changes are committed
3. Pull changes on the production server

## SEO & Crawlers

### robots.txt

The `robots.txt` file includes:
- Standard crawler instructions
- Blocked sensitive paths
- Sitemap location
- Crawl delay
- Clean tracking parameters

### sitemap.xml

The sitemap includes all public pages with their priorities and change frequencies.

### AI Crawlers

AI bots (ChatGPT, Google-Extended, Claude, etc.) are instructed via:
- `robots.txt` rules
- `ai.txt` file with specific instructions

## Browser Support

The site is designed to work on modern browsers:
- Chrome (latest 2 versions)
- Firefox (latest 2 versions)
- Safari (latest 2 versions)
- Edge (latest 2 versions)
- Mobile browsers (iOS Safari, Chrome for Android)

## Accessibility

- Semantic HTML structure
- ARIA landmarks where appropriate
- Keyboard navigation support
- Color contrast considerations
- Alt text for images

## Performance

The site is optimized for performance:
- Static HTML (no server-side processing)
- CSS and JavaScript minification (for production)
- Image optimization
- Browser caching configured
- Compression enabled (gzip/deflate)

## Contributing

As this is an archive, contributions are limited to:
1. Security fixes
2. Accessibility improvements
3. Documentation updates
4. Bug fixes for display issues

### Pull Request Process

1. Fork the repository
2. Create a feature branch (`git checkout -b feature/amazing-feature`)
3. Make your changes
4. Run linting (`pre-commit run --all-files`)
5. Commit your changes (`git commit -m 'Add amazing feature'`)
6. Push to the branch (`git push origin feature/amazing-feature`)
7. Open a Pull Request

## License

This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.

## Acknowledgments

- FIDH (International Federation for Human Rights)
- All human rights defenders featured in the campaign
- Contributors to the original campaign

## Contact

For questions or concerns about this archive:
- Security issues: See `security.txt`
- General inquiries: Contact FIDH

---

**📁 ARCHIVE**: This is a static archive. Content is no longer updated.

*Last updated: 2026*
*Generated by Mistral Vibe*
