{"id":17212003,"url":"https://github.com/refraction-ray/myarxiv-app","last_synced_at":"2026-04-11T10:34:39.376Z","repository":{"id":101618014,"uuid":"163060233","full_name":"refraction-ray/myarxiv-app","owner":"refraction-ray","description":"Flask app for personal arXiv ","archived":false,"fork":false,"pushed_at":"2019-01-29T06:14:15.000Z","size":244,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-30T11:29:48.101Z","etag":null,"topics":["celery","docker","docker-compose","flask","mysql","pytest","redis","sqlalchemy","uikit3","vuejs","webpack4"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/refraction-ray.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-12-25T07:54:41.000Z","updated_at":"2021-08-07T14:11:27.000Z","dependencies_parsed_at":"2023-06-06T14:45:18.455Z","dependency_job_id":null,"html_url":"https://github.com/refraction-ray/myarxiv-app","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/refraction-ray%2Fmyarxiv-app","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/refraction-ray%2Fmyarxiv-app/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/refraction-ray%2Fmyarxiv-app/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/refraction-ray%2Fmyarxiv-app/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/refraction-ray","download_url":"https://codeload.github.com/refraction-ray/myarxiv-app/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245466387,"owners_count":20620193,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["celery","docker","docker-compose","flask","mysql","pytest","redis","sqlalchemy","uikit3","vuejs","webpack4"],"created_at":"2024-10-15T02:59:01.604Z","updated_at":"2025-12-30T20:34:20.084Z","avatar_url":"https://github.com/refraction-ray.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MYARIXV-APP\n\nA Flask web app written in Python 3. See the live demo at https://myarxiv.club (at the experimental stage)\n\n## Quickstart\n\nAll commands below are executed in bash and the working directory is the root of the project, installation of python (pip) and node (npm) is assumed.\n\nFirst of all, one need to generate `main.js` and other static files via webpack.\n\n```bash\nnpm install\nnpm run build # for development static files\nnpm run deploy # for production static files\n```\n\n* Run the app in development mode, `./run.sh` . You can also use `npm run all` to start both flask and webpack servers for development.\n\n* Run the app in production mode, ` gunicorn -w 4 -b 0.0.0.0:9999 app.wsgi:app`\n\n  For the above two options, you need to take care of dependencies. Try\n\n  ```bash\n  pip install -r requirements/prod.txt\n  ```\n\n  You also need to start celery worker and celery beat manually. \n\n  ```bash\n  celery -A app.tasks worker --loglevel=info\n  celery -A app.tasks beat --loglevel=info\n  ```\n\n* Run the flask app in docker (with database configured in the host). In this case, the host url for databases are recommended as `127.0.0.1` in config.yaml.\n\n  ```bash\n  docker build . -t myarxiv:latest\n  docker run -d --network=\"host\" myarxiv:latest\n  ```\n\n  For the above three options, you need to configure mysql and redis databases and their connections manually. In Ubuntu, try `apt install -y redis-server mysql-server libmysqlclient-dev` . \n\n* Run the flask app in docker (with both mysql and redis also in dockers). In this case, the host url for databases are recommended as `mysql` and `redis` respectively in config.yaml.\n\n  ```bash\n  docker-compose build\n  docker-compose up -d\n  ```\n\n  For all the above options, Nginx can also be added and configured as the reverse proxy in production mode.\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frefraction-ray%2Fmyarxiv-app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frefraction-ray%2Fmyarxiv-app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frefraction-ray%2Fmyarxiv-app/lists"}