A lightweight, bilingual (Chinese/English) web application for querying academic paper citation counts using the Semantic Scholar API.
- 🌏 Bilingual Support: Switch between Chinese and English
- 🔍 Single & Batch Search: Query one or multiple papers at once
- 📝 Search History: Track recent searches with local storage
- 🚀 Zero Dependencies: Pure HTML/CSS/JavaScript
- 📱 Responsive Design: Works on all devices
CiteNumber/
├── api/
│ └── index.js # Vercel 无服务器函数
├── public/
│ ├── index.html # 主页面
│ ├── script.js # 主要逻辑
│ ├── styles.css # 样式文件
│ └── i18n.js # 国际化文件
├── package.json # 项目依赖配置
├── vercel.json # Vercel 部署配置
└── README.md # 说明文档
# Push to GitHub repository
git add .
git commit -m "Deploy citation query tool"
git push origin main
# Enable GitHub Pages in repository settings
# Settings → Pages → Source: Deploy from branch (main)# Install dependencies
npm install
# Install Vercel CLI (optional)
npm i -g vercel
# Local development
npm run dev
# or
vercel dev
# Deploy
npm run deploy
# or
vercel --prod
# Or connect GitHub repo at vercel.com- Drag and drop folder to netlify.com
- Or connect GitHub repository
# Using Python
python -m http.server 8000
# Using Node.js
npx serve
# Using Nginx/Apache
# Copy files to web root directory# Copy files to server
scp -r ./* user@server:/var/www/html/cite-tool/
# Set permissions
chmod -R 755 /var/www/html/cite-tool/- Open
index.htmlin a browser - Toggle language with top-right buttons
- Search papers by title or keywords
- View citation counts and paper details
Uses Semantic Scholar API (no authentication required):
- Endpoint:
api.semanticscholar.org/graph/v1/paper/search - Rate limits apply for high-volume usage
- Chrome/Edge 90+
- Firefox 88+
- Safari 14+
- Mobile browsers
MIT