Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/frontekip/html-docx
Docx makes html content.
https://github.com/frontekip/html-docx
docker docx html html-docx html-docx-converter word
Last synced: about 1 month ago
JSON representation
Docx makes html content.
- Host: GitHub
- URL: https://github.com/frontekip/html-docx
- Owner: Frontekip
- Created: 2018-03-10T15:41:19.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2024-05-06T22:07:10.000Z (8 months ago)
- Last Synced: 2024-05-06T23:23:01.833Z (8 months ago)
- Topics: docker, docx, html, html-docx, html-docx-converter, word
- Language: JavaScript
- Homepage: https://hub.docker.com/repository/docker/icerikevreni/html-docx
- Size: 70.3 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# html-docx
It makes docx html content with pandoc. Set up simple with the docker if you like.### Using
git clone https://github.com/yasaricli/html-docx.git
cd html-docx
npm install
node main.js
`POST` the file **name** and **html** content here: http://localhost:3000```JS
// POST DATA http://localhost:3000
{
"name": "file example",
"html": "hellohello"
}// RESULT
{
"status": "success",
"data": {
"url": "http://localhost:3000/docs/file-example.docx"
}
}
```### Using Docker
Pull docker image:docker pull yasaricli/html-docx
and run:
docker run -e ROOT_URL=https://domain.com -d -p 6000:3000 yasaricli/html-docx
### Variables
you can use some env variables.
`ROOT_URL`=**http://localhost:3000**
You can change it by using the **-e** parameter.
-e ROOT_URL=http://domain.com