A Go program able to convert Office Documents automatically to PDF / EPUB Files via OnlyOffice and BoockStack
 
 
 
 
 
 
Go to file
Jonas Letzbor 65cfa0ec64
Gitea/ncDocConverter/pipeline/head This commit looks good Details
Add jenkinsfile and versioning
2023-01-05 19:06:32 +01:00
cmd/ncDocConverth Add jenkinsfile and versioning 2023-01-05 19:06:32 +01:00
configs Add jenkinsfile and versioning 2023-01-05 19:06:32 +01:00
internal Add jenkinsfile and versioning 2023-01-05 19:06:32 +01:00
pkg Implement conversion for OnlyOffice and BoockStack 2023-01-02 11:50:37 +01:00
scripts Add jenkinsfile and versioning 2023-01-05 19:06:32 +01:00
web Implement conversion for OnlyOffice and BoockStack 2023-01-02 11:50:37 +01:00
.gitignore Add jenkinsfile and versioning 2023-01-05 19:06:32 +01:00
BUILD.md Implement conversion for OnlyOffice and BoockStack 2023-01-02 11:50:37 +01:00
Jenkinsfile Add jenkinsfile and versioning 2023-01-05 19:06:32 +01:00
LICENSE Implement conversion for OnlyOffice and BoockStack 2023-01-02 11:50:37 +01:00
README.md Implement conversion for OnlyOffice and BoockStack 2023-01-02 11:50:37 +01:00
VERSION Add jenkinsfile and versioning 2023-01-05 19:06:32 +01:00
go.mod Add jenkinsfile and versioning 2023-01-05 19:06:32 +01:00
go.sum Implement conversion for OnlyOffice and BoockStack 2023-01-02 11:50:37 +01:00

README.md

ncDocConverter

A Go program able to convert documents automatically to PDF / EPUB Files.

Currently, the following sources for documents are supported:

  • Nextcloud with OnlyOffice
  • Boockstack

As a destination to save the converted files only Nextcloud is supported.

Setting it up

For using the

BookStack

For converting books of BookStack you need to create an API token for the user to access the books:

  1. Login as Admin
  2. Go to Settings → Users
  3. Select user for API access
  4. Scroll down to API Tokens and click CREATE TOKEN
  5. Set a name and expire date. Click save
  6. Copy the ID and Token. The field apiToken will contain the combination from id:token

Now you need also create a new role or edit an existing role.

  1. Go to Settings → Roles
  2. Edit and existing Role (the role which the user have) or create a new role
  3. Check the box Access system API and Export content in System permissions
  4. Assing View Role (all and own) for Shelves, Books, Chapters and Pages