GithubHelp home page GithubHelp logo

boksynt's Introduction

boksynt

boksynt is a simple CLI tool for downloading and converting articles to the EPUB format so that they can be put on an e-book reader or just read without any clutter and offline in your favorite EPUB reading software.

Installation

To use the latest release:

  1. Download the latest binary release from GitHub and run it directly with ./boksynt or put it in your PATH so you can run boksynt from anywhere.
  2. To use the latest development version:
    1. Clone this repository.
    2. You can immediately use it with go run main.go.

Requirements

You need to have Pandoc installed for boksynt to work. Other dependencies are specified in go.mod and should be handled automatically if you're running boksynt from the cloned repository.

Usage

The following flags are available:

Usage of Boksynt:
  -f, --file string
                Path to file with URLs to articles to be fetched and converted
  -o, --output-dir string
                Directory where the final epub files should be placed
  -t, --tag string
                Comma separated list of tags that should be added to articles

The flow is:

  1. Create a file with URLs that you want downloaded and converted.
  2. Run the app and provide the path to your file to the --file flag.

Running the following:

boksynt --file urls --output-dir articles --tag "Newspaper articles"

You should get output that looks somewhat like this:

usage-screenshot

If the file urls has the following content:

https://www.theatlantic.com/international/archive/2022/06/young-ukrainians-ukraine-russia-war/661213/
https://www.theatlantic.com/culture/archive/2022/06/irma-vep-tv-series-review/661230/
https://theintercept.com/2022/06/09/ice-lexisnexis-mass-surveillances/
https://www.theguardian.com/australia-news/2022/jun/09/65000-year-old-swiss-army-knife-proves-ancient-humans-shared-knowledge-research-says

Development status

This is a work in progress, but the basic functionality is there. Third-party software Go-Readability which is a Go port of Mozilla Readability handles the actual parsing of websites, so that part should be pretty mature.

boksynt's People

Contributors

gevhaz avatar

Watchers

 avatar

boksynt's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.