Skip to content

VGachet/docu-fetch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docu Fetch

DocuFetch is a mobile application that fetches PDF files from a server, import it in the app and allows you to read it in a nice PDF viewer.

Getting Started

  • Clone the project
  • Run flutter pub get

How to use Docu Fetch

Server side setup

This is how you setup your own "DocuFetch repository":

  • Put every PDF files you want to fetch in an open folder of your server
    • Create a .json file in the same folder with the following structure to describe the PDF files:
      • Example :
      { "pdfs": [
        {
          "title": "My PDF Title 1",
          "description": "My PDF Description 1"
          "path": "my_pdf_1.pdf",
          "version": 1.0
        },
        {
          "title": "My PDF Title 2",
          "description": "My PDF Description 2"
          "path": "my_pdf_2.pdf",
          "version": 1.2
        },
        ...
        ]
      }
      
      • The "path" field should point to the PDF file in the same folder
      • The "version" field is used to update the PDF file in the app if the version is different from the one in the app
      • The "title" and "description" fields are used to display the PDF in the app

Client side (mobile app)

  • In the Home page, select the "Menu" button
  • To download PDF files from a server, click on "Add PDF from URL" then in the field, add a url that point to the json file of a DocuFetch distant folder (repository)
  • To import a PDF file from your device, click on "Import PDF from device"
  • To read a PDF file, click on the PDF file in the Home page
  • To delete a PDF file, long press on the PDF you want to delete then select "Delete". With this method you can also delete multiple PDF and folders at once
  • To update PDF files based on the version, go to the folder where the PDF you want to update is, select the "Menu" button, choose "Your distant folder list" and click on the distant folder (repository) you want to update the PDF file from

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages