A simple website used to store and display personal notes on academic papers. The website now truly dynamically discovers papers from the papers directory by scanning it in real-time - no hardcoded lists!
- True Dynamic Paper Discovery: Automatically scans the papers directory for JSON files in real-time
- Multiple Server Options: Supports Python, PHP, and Node.js servers
- Create New Papers: Easy form-based paper creation
- Search & Filter: Search by title, author, keywords, and filter by category, conference, year
- Responsive Design: Works on desktop and mobile devices
The easiest way to get started is with the Python server:
python3 server.pyThen visit: http://localhost:8000
The server will automatically scan your papers/ directory and discover all JSON files dynamically!
python3 server.py # Default port 8000
python3 server.py 8001 # Custom port✅ Truly dynamic - Scans papers directory in real-time
✅ No configuration needed
✅ Works on any system with Python 3
If your server supports PHP, upload list-papers.php and the website will automatically use server-side directory scanning.
node list-papers.js- Real-time scanning: When you request the paper list, the server scans the
papers/directory - Automatic discovery: Finds all
.jsonfiles without any manual configuration - No hardcoded lists: The system adapts automatically when you add/remove papers
- Sorted results: Papers are returned in alphabetical order
- Visit
create-paper.html - Fill in the paper details
- Download the generated JSON file
- Upload it to the
papers/directory - Refresh the main page - your new paper appears automatically!
- Create a JSON file in the
papers/directory - Follow this structure:
{
"title": "Paper Title",
"authors": "Author1, Author2",
"conference": "Conference Name",
"year": 2024,
"keywords": ["keyword1", "keyword2"],
"categories": ["category1"],
"mainIdea": "Main idea description",
"takeaways": "Key takeaways",
"figures": [],
"addedTime": "2024-01-01T00:00:00.000Z"
}- Refresh the main page - appears automatically!
✅ 29 papers discovered dynamically from your papers/ directory
✅ No manual paper list maintenance needed
✅ Real-time directory scanning working
paper-notes/
├── index.html # Main paper listing page
├── paper.html # Individual paper view
├── create-paper.html # Create new paper form
├── style.css # Styles
├── server.py # Python server with dynamic discovery ⭐
├── list-papers.php # PHP directory scanner
├── list-papers.js # Node.js server alternative
└── papers/ # Directory containing paper JSON files
├── Paper1.json # Automatically discovered
├── Paper2.json # Automatically discovered
└── ... # All 29 papers auto-discovered!
GET /list-papers- Returns JSON list of all papers in directoryGET /- Serves the main application
Example response:
{
"paperFiles": [
"papers/Paper1.json",
"papers/Paper2.json",
"..."
]
}If you see "No papers found":
- Start the server:
python3 server.py - Check the URL: Make sure you're visiting
http://localhost:8000(not opening the HTML file directly) - Check papers directory: Ensure you have
.jsonfiles in thepapers/folder
- Modern browsers with ES6+ support
- JavaScript must be enabled
- Must be accessed through a server (not as local file)