{"repo":"kevinhongzl/a2b","free":true,"listed":false,"github":"https://github.com/kevinhongzl/a2b","clone":"git clone https://github.com/kevinhongzl/a2b.git","description":"Replace arXiv links by their corresponding bibliography in markdowns / Notion database","language":"Python","stars":23,"topics":["arxiv","markdown","bibliography","notion"],"license":"MIT","category":"databases-storage","readme_excerpt":"A2B (Arxiv to Bibliography) Replace arXiv links (or doi links) by their corresponding bibliography in markdowns / Notion databases. Inspired by Mu Li. This repo provides a tool to replace arXiv/DOI links saved in Markdown files or Notion database with their corresponding bibliographic information, which intends to create a more convenient experience for users in needs of searching, collecting, and taking notes of literatures. The script uses the Semantic Scholar API to retrieve information such as authors, title, journal, year, and citation count for a given arXiv paper. Markdown Notion Database :---: :---: Installation To install a2b , make sure you have pip installed and run: Usage The tool can be run from the command line, e.g. to check the installed version of a2b , Markdown 1. Generate markdown from a single arXiv link or DOI For example: Here you can use the link of pdf https://arXiv.org/pdf/1912.08957.pdf , instead of the link of arXiv page. One can simply provide the DOI 10.1007/BF00133570 without adding the hyperlink prefix to generate bibilography from DOI. 2. Replace arXiv links in a single markdown file 3. Replace arXiv links in all markdown files within a directory Run the following command to replace all arXiv links found in the given directory and its subdirectories. To replace arXiv links in the markdown files ONLY within the directory (subdirectories excluded), use arguments --no-recursive or -nr : --- Notion Database To generate bibliography from links saved","default_branch":null,"files":null,"tree":[],"storefront":"/r/kevinhongzl","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/kevinhongzl/a2b/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}