AI SciSum is a web application designed to help scientists, students, and professionals quickly digest key information from scientific articles. Users can paste article text to receive automatically generated, structured summaries, or create and edit notes manually. All summaries are stored securely in user accounts for easy access, significantly reducing the time needed for literature analysis and improving research efficiency.
- Astro 5 - Fast, efficient pages and applications with minimal JavaScript
- React 19 - Interactive components where needed
- TypeScript 5 - Static typing and enhanced IDE support
- Tailwind CSS 4 - Utility-first CSS framework
- Shadcn/ui - Accessible React component library
- Supabase - PostgreSQL database, Backend-as-a-Service, and built-in authentication
- OpenRouter.ai - Access to multiple AI models (OpenAI, Anthropic, Google, and more) with flexible pricing and API limits
- GitHub Actions - CI/CD pipelines
- DigitalOcean - Application hosting via Docker containers
- Node.js 22.14.0 (use nvm to manage versions)
- npm or yarn package manager
- Supabase account for database and authentication
- OpenRouter.ai API key for AI summary generation
-
Clone the repository:
git clone https://github.com/yourusername/ai-scisum.git cd ai-scisum -
Install Node.js version:
nvm use # or nvm install 22.14.0 nvm use 22.14.0 -
Install dependencies:
npm install
-
Set up environment variables:
Create a
.envfile in the root directory:# Supabase Configuration PUBLIC_SUPABASE_URL=your_supabase_project_url PUBLIC_SUPABASE_ANON_KEY=your_supabase_anon_key SUPABASE_SERVICE_ROLE_KEY=your_supabase_service_role_key # OpenRouter.ai Configuration OPENROUTER_API_KEY=your_openrouter_api_key
-
Set up Supabase database:
Run the database migrations in your Supabase project (migrations to be added).
-
Start the development server:
npm run dev
-
Open your browser:
Navigate to
http://localhost:4321
| Script | Description |
|---|---|
npm run dev |
Start the development server with hot reload |
npm run build |
Build the application for production |
npm run preview |
Preview the production build locally |
npm run astro |
Run Astro CLI commands |
npm run lint |
Run ESLint to check code quality |
npm run lint:fix |
Automatically fix linting issues |
npm run format |
Format code with Prettier |
User Account System:
- User registration with email and password
- Login and logout functionality
- Password reset via email
- Account deletion with all associated data
AI-Powered Summaries:
- Paste scientific article text for AI summary generation
- Structured summary with sections: Research Objective, Methods, Results, Discussion, Open Questions, Conclusions
- Auto-generated editable title
- Monthly limit of 5 AI summaries per user
- Usage counter display (e.g., "3/5")
Manual Summary Creation:
- Create empty structured summary templates
- Fill in sections manually
Summary Management:
- User dashboard with all saved summaries
- View, edit, and delete summaries
- WYSIWYG editor for content modification
- Browser warning for unsaved changes
- Welcome screen for new users
Legal Compliance:
- GDPR-compliant data storage and processing
- DOI-based article import
- PDF file upload and parsing
- Automatic text cleaning and parsing
- Tagging and filtering system
- Summary sharing between users
- Figures, tables, and graphics display
- Native mobile applications (iOS/Android)
- Interactive onboarding tutorial
- Auto-save functionality in editor
Current Status: 🚧 In Development (MVP Phase)
We're tracking the following metrics to measure product success:
-
AI Acceptance Rate Target: 75%
Percentage of AI-generated summaries accepted by users (measured by summaries with <15% character edits) -
AI Adoption Rate Target: 75%
Percentage of all summaries created using AI generation vs. manual creation
This project does not currently have a license. Please contact the project maintainers for information about usage and distribution.
Built with ❤️ for the scientific community
.
├── src/
│ ├── layouts/ # Astro layouts
│ ├── pages/ # Astro pages
│ │ └── api/ # API endpoints
│ ├── components/ # UI components (Astro & React)
│ └── assets/ # Static assets
├── public/ # Public assetsThis project is configured with AI development tools to enhance the development experience, providing guidelines for:
- Project structure
- Coding practices
- Frontend development
- Styling with Tailwind
- Accessibility best practices
- Astro and React guidelines
The project includes AI rules in .cursor/rules/ directory that help Cursor IDE understand the project structure and provide better code suggestions.
AI instructions for GitHub Copilot are available in .github/copilot-instructions.md
The .windsurfrules file contains AI configuration for Windsurf.
Please follow the AI guidelines and coding practices defined in the AI configuration files when contributing to this project.
MIT