Skip to content

Latest commit

 

History

History
42 lines (27 loc) · 1.87 KB

README.md

File metadata and controls

42 lines (27 loc) · 1.87 KB

Your AI Research Newsletter

Demo

This project is an AI-based paper summarizer. It fetches AI-related papers from the arXiv API, parses the XML response to JSON, extracts necessary information from each paper, and constructs a PDF link for each paper.

Dependencies

The project uses several dependencies as listed in the package-lock.json file.

Some of the key dependencies include:

  • autoprefixer: A tool to parse CSS and add vendor prefixes to CSS rules.
  • axios: Promise based HTTP client for the browser and node.js.
  • cors: Package for providing a Connect/Express middleware that can be used to enable CORS with various options.
  • dotenv: A zero-dependency module that loads environment variables from a .env file into process.env.
  • express: Fast, unopinionated, minimalist web framework for node.
  • langchain: A language chain library.
  • node-cron: A simple cron-like job scheduler for Node.js.
  • openai: OpenAI's API library.
  • pdf-parse: A library to parse PDF files and extract text data.
  • postcss: A tool for transforming styles with JS plugins.
  • tailwindcss: A utility-first CSS framework for rapidly building custom user interfaces.
  • xml2js: A simple XML to JavaScript object converter.

Setup

To set up the project, you need to have Node.js installed. After cloning the repository, navigate to the project directory and run npm install to install the dependencies.

Next, make a copy of the .env.template called '.env' and add your API keys. .env is on the git ignore

Running the Project

To run the project, use the command node server.js. The server will start and listen on port 5501 or whatever porpt you identify in the env file.

License

This project is licensed under the MIT License. See the LICENSE file for details.

Connect with Me

For any queries or suggestions, feel free to connect with me at https://bio.blaisep.com.