https://github.com/shotakitazawa/paperconv
https://github.com/shotakitazawa/paperconv
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/shotakitazawa/paperconv
- Owner: ShotaKitazawa
- Created: 2018-10-10T08:41:31.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-11-08T09:55:10.000Z (over 6 years ago)
- Last Synced: 2025-01-08T11:48:09.491Z (5 months ago)
- Language: Python
- Size: 3.91 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# About
text -> md for Paper
# Setup
## For Linux
```
pip install -r requirements.txt
wget https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-2.1.1-linux-x86_64.tar.bz2
tar xf phantomjs-2.1.1-linux-x86_64.tar.bz2 && rm -f phantomjs-2.1.1-linux-x86_64.tar.bz2
mv phantomjs-2.1.1-linux-x86_64/bin/phantomjs . && rm -rf phantomjs-2.1.1-linux-x86_64
```## For Mac
```
pip install -r requirements.txt
wget https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-2.1.1-macosx.zip
tar xf phantomjs-2.1.1-linux-x86_64.tar.bz2 && rm -f phantomjs-2.1.1-linux-x86_64.tar.bz2
mv phantomjs-2.1.1-linux-x86_64/bin/phantomjs . && rm -rf phantomjs-2.1.1-linux-x86_64
```## For Docker
```
docker build -t local/paperconv .
```# Execute
```
python3 translate.py input.txt | tee output.md
```## Execute For Docker
```
docker run -itd -v input.txt:/usr/src/app/ --name paperconv local/paperconv | tee output.md
```