All Projects → stgarf → paperless-cli

stgarf / paperless-cli

Licence: Apache-2.0 license
A golang command line binary to interact with a Paperless instance

Programming Languages

go
31211 projects - #10 most used programming language
shell
77523 projects

Projects that are alternatives of or similar to paperless-cli

Seafile
High performance file syncing and sharing, with also Markdown WYSIWYG editing, Wiki, file label and other knowledge management features.
Stars: ✭ 9,201 (+18302%)
Mutual labels:  document-management
Mayan Edms
Free Open Source Document Management System (mirror, no pull request or issues)
Stars: ✭ 226 (+352%)
Mutual labels:  document-management
everydocs-core
A simple Document Management System for private use with basic functionality to organize your documents digitally
Stars: ✭ 112 (+124%)
Mutual labels:  document-management
Templated Docs
Generate PDF, MS Word and Excel documents from templates in Django
Stars: ✭ 89 (+78%)
Mutual labels:  document-management
Mm Wiki
MM-Wiki 一个轻量级的企业知识分享与团队协同软件,可用于快速构建企业 Wiki 和团队知识分享平台。部署方便,使用简单,帮助团队构建一个信息共享、文档管理的协作环境。
Stars: ✭ 2,364 (+4628%)
Mutual labels:  document-management
paperwork-backend
Backend part of Paperwork (Python API, no UI)
Stars: ✭ 18 (-64%)
Mutual labels:  document-management
Mrdoc
online document system developed based on python. It is suitable for individuals and small teams to manage documents, wiki, knowledge and notes. like gitbook.
Stars: ✭ 1,129 (+2158%)
Mutual labels:  document-management
i-librarian-free
I, Librarian - open-source version of a PDF managing SaaS.
Stars: ✭ 110 (+120%)
Mutual labels:  document-management
Paperwork
Personal document manager (Linux/Windows) -- Moved to Gnome's Gitlab
Stars: ✭ 2,392 (+4684%)
Mutual labels:  document-management
j-lawyer-org
Main project containing all submodules for building an entire j-lawyer.org system. Submit issues (bugs, enhancement requests) here.
Stars: ✭ 35 (-30%)
Mutual labels:  document-management
Communityserver
Free open source office suite with business productivity tools: document and project management, CRM, mail aggregator.
Stars: ✭ 1,363 (+2626%)
Mutual labels:  document-management
Cmissync
Synchronize content between a CMIS repository and your desktop. Like Dropbox for Enterprise Content Management!
Stars: ✭ 153 (+206%)
Mutual labels:  document-management
gemma-zaken
Samen ontwikkelen van API's voor Zaakgericht werken
Stars: ✭ 40 (-20%)
Mutual labels:  document-management
Community
Modern Confluence alternative designed for internal & external docs, built with Golang + EmberJS
Stars: ✭ 1,286 (+2472%)
Mutual labels:  document-management
paperless app
An Android/iOS app for Paperless
Stars: ✭ 381 (+662%)
Mutual labels:  paperless
Papermerge
Open Source Document Management System for Digital Archives (Scanned Documents)
Stars: ✭ 1,177 (+2254%)
Mutual labels:  document-management
Papernic
Open Source Document Management & Collaboration System
Stars: ✭ 247 (+394%)
Mutual labels:  document-management
DocManager
Universal backend for indexing, storing, and querying documents.
Stars: ✭ 22 (-56%)
Mutual labels:  document-management
EdPaper
Helps you organizing your paperwork
Stars: ✭ 56 (+12%)
Mutual labels:  document-management
document-management-software
LogicalDOC Community open source document management system https://www.logicaldoc.com
Stars: ✭ 70 (+40%)
Mutual labels:  document-management

paperless-cli

license Build Status

badge Stargazers over time

Table of Contents

Description

A CLI tool written in Go to interface with a Paperless instance.

Installation and usage

Prerequisites

You should have a working Go environment and have $GOPATH/bin in your $PATH.

Precompiled binary

You can get a precompiled binary from the releases page (soon).

Self-compiled binary

To download source, compile, and install, run:

$ go get -u github.com/stgarf/paperless-cli
$ $GOPATH/src/github.com/stgarf/paperless-cli/build.sh

The source code will be located in $GOPATH/src/github.com/stgarf/paperless-cli.

A newly compiled binary will be in $GOPATH/src/github.com/stgarf/paperless-cli/bin/

You can place the binary in you $PATH for easy usage. e.g.

$ cp $GOPATH/src/github.com/stgarf/paperless-cli/bin/paperless-cli $GOPATH/bin

$ which paperless-cli should return the path to the newly installed binary.

Usage

Check paperless-cli version

$ paperless-cli version
paperless-cli v0.6.0 built on 2019-03-10T16:28:33Z from git:c8dd2e7-clean (master) by user@chrx

Setting up a config

You can set up a basic YAML-based configuration to be read by placing it in $HOME/.paperless-cli.yaml.

A base config can be autogenerated with paperless-cli config create.

Here's an example configuration:

# A basic paperless-cli configuration file.

# The hostname of the Paperless instance.
hostname: localhost
# Connect via HTTP or HTTPS.
use_https: false
# Port the Paperless instance is listening on.
port: 8000
# Path to the API root.
root: /api
# Username to auth to Paperless instance.
username: myUsername
# Username to auth to Paperless instance.
password: mYpa$$w0rd.is.h0p3fully.s3cur3!!1

Development

Prerequisites

You should have a working Go environment and have $GOPATH/bin in your $PATH.

Get the code

To download the source code, run:

$ go get -du github.com/stgarf/paperless-cli

The source code will be located in $GOPATH/src/github.com/stgarf/paperless-cli.

Running the tests

$ go test

Really though, there are none and need to be written.

Built With

  • cobra - A Commander for modern Go CLI interactions
  • logrus - Structured, pluggable logging for Go
  • gjson - Get JSON values quickly - JSON Parser for Go
  • viper - Go configuration with fangs
  • go-fqdn - Simple wrapper around net and os golang standard libraries providing Fully Qualified Domain Name of the machine
  • go-homedir - Go library for detecting and expanding the user's home directory without cgo
  • govvv - "go build" wrapper to add version info to Golang applications

Contributing

Please read CONTRIBUTING.md for details on the code of conduct, and the process for submitting pull requests to the project.

Versioning

We use SemVer for versioning, roughly. For the versions available, see the tags on this repository.

Authors

  • Steve Garf - Initial CLI work - stgarf
  • Zibby Mofrad - Document Download option - zibby

See also the list of contributors who participated in this project.

License

This project is licensed under the Apache License - see the LICENSE file for details.

Acknowledgments

  • Daniel Quinn for starting Paperless and the awesome community of people maintaining Paperless
  • Seth Junot for rubber duck debugging - xSetech
  • Hat tip to anyone whose code was imported!
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].