{"id":39153864,"url":"https://github.com/aris-pub/press","last_synced_at":"2026-01-17T21:44:28.633Z","repository":{"id":306736158,"uuid":"1027050696","full_name":"aris-pub/press","owner":"aris-pub","description":"Modern preprint server for web-native research. Format freedom (Typst, Quarto, MyST, Jupyter), instant publication, permanent URLs. Fully community-owned.","archived":false,"fork":false,"pushed_at":"2026-01-16T16:20:22.000Z","size":2633,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-01-17T05:20:14.703Z","etag":null,"topics":["academia","open-science","preprint","publishing","web-native"],"latest_commit_sha":null,"homepage":"https://scroll.press","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/aris-pub.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-07-27T07:47:03.000Z","updated_at":"2026-01-16T16:20:26.000Z","dependencies_parsed_at":"2025-07-27T10:25:25.660Z","dependency_job_id":"48b6c1bb-51d8-4ee5-9e6c-94e740f9b818","html_url":"https://github.com/aris-pub/press","commit_stats":null,"previous_names":["aris-pub/press"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/aris-pub/press","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aris-pub%2Fpress","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aris-pub%2Fpress/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aris-pub%2Fpress/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aris-pub%2Fpress/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aris-pub","download_url":"https://codeload.github.com/aris-pub/press/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aris-pub%2Fpress/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28518677,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-17T18:55:29.170Z","status":"ssl_error","status_checked_at":"2026-01-17T18:55:03.375Z","response_time":85,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["academia","open-science","preprint","publishing","web-native"],"created_at":"2026-01-17T21:44:27.884Z","updated_at":"2026-01-17T21:44:28.607Z","avatar_url":"https://github.com/aris-pub.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Scroll Press\n\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n[![Python 3.11+](https://img.shields.io/badge/python-3.11+-blue.svg)](https://www.python.org/downloads/)\n[![Code style: ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json)](https://github.com/astral-sh/ruff)\n[![CI](https://github.com/aris-pub/press/actions/workflows/ci.yml/badge.svg)](https://github.com/aris-pub/press/actions/workflows/ci.yml)\n[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](http://makeapullrequest.com)\n\nA modern HTML-native preprint server for academic research documents. Built with\nFastAPI, Scroll Press accepts research from any authoring tool that produces HTML—Typst,\nQuarto, MyST, Jupyter, or handwritten HTML. Format freedom, instant publication,\npermanent URLs.\n\n**Governance**: Press is fully community-owned—open source, community contributions\naccepted, roadmap driven by community needs, forever free. Supported by community\ndonations and academic grants.\n\n## Features\n\n- **HTML-native publishing**: Upload complete HTML documents with embedded CSS and JavaScript\n- **Session-based authentication**: Secure user registration and login system with email verification\n- **Email verification**: Token-based email verification with password reset functionality\n- **GDPR compliance**: Data export endpoint for user data portability (Article 20)\n- **Subject categorization**: Organize research by academic disciplines\n- **Draft and publish workflow**: Save drafts and publish when ready\n- **Scroll cards**: Browse recent submissions with rich metadata\n- **Responsive design**: Clean, academic-focused UI with HTMX interactions\n- **Performance optimized**: Static file caching with CDN-ready headers\n\n## Quick Start\n\n### Prerequisites\n\n- Python 3.11+\n- PostgreSQL database\n- [uv](https://docs.astral.sh/uv/) package manager\n- `just` to run common commands\n\n### Installation\n\n1. **Clone the repository**\n   ```bash\n   git clone \u003crepository-url\u003e\n   cd press\n   ```\n\n2. **Set up environment**\n   ```bash\n   cp .env.example .env\n   # Edit .env with your database URL, port, and email service credentials\n   ```\n\n   Required environment variables:\n   - `DATABASE_URL`: PostgreSQL connection string\n   - `PORT`: Server port (default: 7999)\n   - `RESEND_API_KEY`: API key for Resend email service (for email verification)\n   - `FROM_EMAIL`: Email address to send from (default: noreply@updates.aris.pub)\n   - `BASE_URL`: Base URL for email links (defaults to https://127.0.0.1:{PORT})\n\n3. **Install dependencies and setup**\n   ```bash\n   just init\n   ```\n\n4. **Start the development server**\n   ```bash\n   just dev\n   ```\n\nVisit `https://localhost:7999` to access Scroll Press (HTTPS with self-signed certificate).\n\n## Development\n\n### Project Structure\n\n```\napp/\n├── auth/               # Session-based authentication and token management\n│   ├── session.py      # Session handling\n│   └── tokens.py       # Email verification and password reset tokens\n├── emails/             # Email service integration\n│   ├── service.py      # Resend email service\n│   └── templates.py    # Email HTML templates\n├── models/             # SQLAlchemy database models\n│   ├── user.py         # User model with email verification\n│   ├── token.py        # Token model for verification/reset\n│   ├── scroll.py       # Research manuscript model\n│   └── subject.py      # Academic subject categorization\n├── routes/             # FastAPI route handlers\n├── templates/          # Jinja2 templates with component macros\n│   └── auth/           # Authentication templates (login, register, verify, reset)\n└── database.py         # Async database configuration\n\nstatic/\n├── css/               # Stylesheet\n└── images/            # Static assets\n\ntests/                 # Comprehensive test suite\n```\n\n### Architecture\n\n- **Backend**: FastAPI with async/await patterns\n- **Database**: PostgreSQL with SQLAlchemy 2.0 async\n- **Authentication**: Session-based with in-memory storage and token-based email verification\n- **Email Service**: Resend API for transactional emails (verification, password reset)\n- **Frontend**: Jinja2 templates with HTMX for dynamic interactions\n- **Security**: HTTPS-only development with self-signed certificates\n- **Testing**: pytest with asyncio support, parallel execution, and Playwright e2e tests\n\n## Documentation\n\n- [Database Setup \u0026 Models](docs/DATABASE.md) - Database configuration, migrations, and data models\n- [Authentication](docs/AUTHENTICATION.md) - Session management, email verification, and security\n- [GDPR Compliance](docs/GDPR.md) - Data export and privacy features\n- [Testing](docs/TESTING.md) - Unit, integration, and E2E testing guide\n- [Deployment](docs/DEPLOYMENT.md) - Production deployment instructions\n- [Backup Setup](docs/BACKUP_SETUP.md) - Database backup configuration\n\n## Contributing\n\n1. **Run all checks**: `just check` (includes lint, unit tests, and e2e tests)\n2. **Follow existing patterns**: Session-based auth, macro components, async/await\n3. **Write tests**: All new features should include test coverage\n4. **Read the docs**: See [Testing Guide](docs/TESTING.md) for testing best practices\n\nContributions are welcome! Please open an issue to discuss major changes before submitting a PR.\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n\n## Support\n\nFor issues and questions, please use the GitHub issue tracker.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faris-pub%2Fpress","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faris-pub%2Fpress","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faris-pub%2Fpress/lists"}