Skip to content

cdrxiv/file-uploader

Repository files navigation

cdrxiv / file-uploader

A minimal file uploader service built with FastAPI. Currently, this service has two main endpoints:

  • /zenodo/upload-file: used to upload files to Zenodo
  • /latex/upload-file: used to upload latex source files

Fly.io Deployment

installation

To install and run this service locally, you can use the following commands:

git clone https://github.com/cdrxiv/file-uploader
cd file-uploader
python -m pip install -r requirements.txt

running the service

To run the service locally, you can use the following command:

uvicorn src.main:app --reload

license

All the code in this repository is MIT licensed.

CDRXIV is a registered trademark (application pending). CDRXIV’s digital assets (graphics, logo, etc) are licensed as CC-BY.

Important

Content and data associated with this repository and hosted on CDRXIV are subject to additional terms of use. See the FAQ for more information on how CDRXIV content is licensed.