ldss

command module
v0.1.1-0...-c2b0454 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 6, 2019 License: MIT Imports: 2 Imported by: 0

README

Lucky Duck Scripture Software

GoDoc

ldss is a set of tools for downloading, parsing, and reading the Gospel Library content from The Church of Jesus Christ of Latter-day Saints.

My goal would be to eventually have many ways to access the richest scripture content in as many places as possible, but for now, it mainly provides a web server.

The content available through this software is owned by the church, and is distributed by the church. This is simply an alternate client to view the content in.

Web Interface (your best bet)

The web interface is what I use for my daily usage. It works great in institute classes and for preparing lessons. Most features will probably work best and show up here first.

Native Graphical User Interface (easiest)

I tried to do th is in Go with github.com/andlabs/ui, but I was basically re-implementing the web browser. I still think it's a really good project though. github.com/zserge/webview make it easy to port the web interface to a desktop application, so it's almost as good as the web interface. It'll need some extra functionality to make up for not having browser navigation (back, forward, tabs), but it's the way the project will go for now.

Android App (not well maintained)

I did manage to generate an Android app with gowebview, but it really needs some work before I would call it good enough for daily usage. If you are willing and able to help, pull requests would be much appreciated. I'm also perfectly happy with you forking the project, but let me know so I can link back.

Command Line Interface (a little broken)

There was a half decent command line interface, but since I moved to Viper, I haven't fully redone it yet. I'll get around to it, but the web interface is so much easier to use (and to work on for me).

Installation instructions

There are currently no binary releases for the application. If you know how to cross-compile go-sqlite3 on Linux, let me know. I'm a little lacking on the build machines. You can install the package by doing the following.

  1. Install Go
  2. Run go get github.com/duckbrain/ldss. This should download and compile ldss and all its dependencies.
  3. Run ldss web to start the web server. It will default to port 1830. If you would like to use a different port, specify it with the --port parameter.

For Developers

To quickly download and build the project, install Go, and set your GOPATH.

go get github.com/duckbrain/ldss

This will check the project out to $GOPATH/src/github.com/duckbrain/ldss and compile it to $GOPATH/bin/ldss.

This project uses packr to generate load binary asssets. You can see that project for instructions on compiling a binary with the assets included.

If you are new to Go, I would recommend reading How to Write Go Code in the Go documentation for various other commands you can use in development.

Documentation

Overview

ldss is a program to download and read the scriptures from the Church of Jesus Christ of Latter-day Saints in a variety of formats. It contains a web server, GUI, and command line interface. The content parsing and lookup is implemented in the ldss/lib subpackage under this package.

Directories

Path Synopsis
internal
web
lib
This package provides functions to download content from the https://lds.org and lookup scriptures, magazines, General Conference talks, and much more from the downloaded content.
This package provides functions to download content from the https://lds.org and lookup scriptures, magazines, General Conference talks, and much more from the downloaded content.
dl

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL