Paper 2 web

From ovachiever/droid-tings · View interactive version

Paper 2 web is an AI agent skill from the GitHub repository ovachiever/droid-tings. This skill should be used when converting academic papers into promotional and presentation formats including interactive websites (Paper2Web), presentation videos (Paper2Video), and conference posters (Paper2Poster). Use this skill for tasks involving paper dissemination, conference preparation, cr

How to use this skill

Skill file

Paper2All: Academic Paper Transformation Pipeline

Overview

This skill enables the transformation of academic papers into multiple promotional and presentation formats using the Paper2All autonomous pipeline. The system converts research papers (LaTeX or PDF) into three primary outputs:

  1. Paper2Web: Interactive, explorable academic homepages with layout-aware design
  2. Paper2Video: Professional presentation videos with narration, slides, and optional talking-head
  3. Paper2Poster: Print-ready conference posters with professional layouts

The pipeline uses LLM-powered content extraction, design generation, and iterative refinement to create high-quality outputs suitable for conferences, journals, preprint repositories, and academic promotion.

When to Use This Skill

Use this skill when:

Trigger phrases:

Core Capabilities

1. Paper2Web: Interactive Website Generation

Converts papers into layout-aware, interactive academic homepages that go beyond simple HTML conversion.

Key Features:

Best For: Post-publication promotion, preprint enhancement, lab websites, permanent research showcases

→ See references/paper2web.md for detailed documentation


2. Paper2Video: Presentation Video Generation

Generates professional presentation videos with slides, narration, cursor movements, and optional talking-head video.

Key Features:

Best For: Video abstracts, conference presentations, online talks, course materials, YouTube promotion

→ See references/paper2video.md for detailed documentation


3. Paper2Poster: Conference Poster Generation

Creates print-ready academic posters with professional layouts and visual design.

Key Features:

Best For: Conference poster sessions, symposiums, academic exhibitions, virtual conferences

→ See references/paper2poster.md for detailed documentation


Quick Start

Prerequisites

  1. Install Paper2All:

```bash

git clone https://github.com/YuhangChen1/Paper2All.git

cd Paper2All

uv pip install -r requirements.txt

```

  1. Configure API Keys (create .env file):

```

OPENAI_API_KEY=your_openai_api_key_here

# Optional: GOOGLE_API_KEY and GOOGLE_CSE_ID for logo search

```

  1. Install System Dependencies:

→ See references/installation.md for complete installation guide


Basic Usage

Generate All Components (website + poster + video):

python pipeline_all.py \
  --input-dir "path/to/paper" \
  --output-dir "path/to/output" \
  --model-choice 1

Generate Website Only:

python pipeline_all.py \
  --input-dir "path/to/paper" \
  --output-dir "path/to/output" \
  --model-choice 1 \
  --generate-website

Generate Poster with Custom Size:

python pipeline_all.py \
  --input-dir "path/to/paper" \
  --output-dir "path/to/output" \
  --model-choice 1 \
  --generate-poster \
  --poster-width-inches 60 \
  --poster-height-inches 40

Generate Video (lightweight pipeline):

python pipeline_light.py \
  --model_name_t gpt-4.1 \
  --model_name_v gpt-4.1 \
  --result_dir "path/to/output" \
  --paper_latex_root "path/to/paper"

→ See references/usage_examples.md for comprehensive workflow examples


Workflow Decision Tree

Use this decision tree to determine which components to generate:

User needs promotional materials for paper?
│
├─ Need permanent online presence?
│  └─→ Generate Paper2Web (interactive website)
│
├─ Need physical conference materials?
│  ├─→ Poster session? → Generate Paper2Poster
│  └─→ Oral presentation? → Generate Paper2Video
│
├─ Need video content?
│  ├─→ Journal video abstract? → Generate Paper2Video (5-10 min)
│  ├─→ Conference talk? → Generate Paper2Video (15-20 min)
│  └─→ Social media? → Generate Paper2Video (1-3 min)
│
└─ Need complete package?
   └─→ Generate all three components

Input Requirements

Supported Input Formats

1. LaTeX Source (Recommended):

paper_directory/
├── main.tex              # Main paper file
├── sections/             # Optional: split sections
├── figures/              # All figure files
├── tables/               # Table files
└── bibliography.bib      # References

2. PDF:

Input Organization

Single Paper:

input/
└── paper_name/
    ├── main.tex (or paper.pdf)
    ├── figures/
    └── bibliography.bib

Multiple Papers (batch processing):

input/
├── paper1/
│   └── main.tex
├── paper2/
│   └── main.tex
└── paper3/
    └── main.tex

Common Parameters

Model Selection

Component Selection

Customization

Output Structure

Generated outputs are organized by paper and component:

output/
└── paper_name/
    ├── website/
    │   ├── index.html
    │   ├── styles.css
    │   └── assets/
    ├── poster/
    │   ├── poster_final.pdf
    │   ├── poster_final.png
    │   └── poster_source/
    └── video/
        ├── final_video.mp4
        ├── slides/
        ├── audio/
        └── subtitles/

Best Practices

Input Preparation

  1. Use LaTeX when possible: Provides best content extraction and structure
  2. Organize files properly: Keep all assets (figures, tables, bibliography) in paper directory
  3. High-quality figures: Use vector formats (PDF, SVG) or high-resolution rasters (300+ DPI)
  4. Clean LaTeX: Remove compilation artifacts, ensure source compiles successfully

Model Selection Strategy

Component Priority

For tight deadlines, generate in this order:

  1. Website (fastest, most versatile, ~15-30 min)
  2. Poster (moderate speed, for print deadlines, ~10-20 min)
  3. Video (slowest, can be generated later, ~20-60 min)

Quality Assurance

Before finalizing outputs:

  1. Website: Test on multiple devices, verify all links work, check figure quality
  2. Poster: Print test page, verify text readability from 3-6 feet, check colors
  3. Video: Watch entire video, verify audio synchronization, test on different devices

Resource Requirements

Processing Time

Computational Requirements

API Costs (Approximate)

Troubleshooting

Common Issues

LaTeX parsing errors:

Poor figure quality:

Video generation failures:

Poster layout issues:

API errors:

Platform-Specific Features

Social Media Optimization

The system auto-detects target platforms:

Twitter/X (English, numeric folder names):

mkdir -p input/001_twitter/
# Generates English promotional content

Xiaohongshu/小红书 (Chinese, alphanumeric folder names):

mkdir -p input/xhs_paper/
# Generates Chinese promotional content

Conference-Specific Formatting

Specify conference requirements:

Integration and Deployment

Website Deployment

Deploy generated websites to:

Poster Printing

Print-ready files work with:

Video Distribution

Share videos on:

Advanced Usage

Batch Processing

Process multiple papers efficiently:

# Organize papers in batch directory
for paper in paper1 paper2 paper3; do
    python pipeline_all.py \
      --input-dir input/$paper \
      --output-dir output/$paper \
      --model-choice 1 &
done
wait

Custom Branding

Apply institution or lab branding:

Multi-Language Support

Generate content in different languages:

References and Resources

This skill includes comprehensive reference documentation:

External Resources:

Evaluation and Quality Metrics

The Paper2All system includes built-in quality assessment:

Content Quality

Design Quality

Technical Quality

All outputs undergo automated quality checks before generation completes.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.