miniflinks

command module
v0.0.0-...-a64ee6e Latest Latest
Warning

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

Go to latest
Published: May 7, 2023 License: AGPL-3.0 Imports: 10 Imported by: 0

README

Introduction

Miniflinks is a program to generate a webpage from a Miniflux feed list and output to stdout.

Installation

Dependencies

  • go

Building

Just build using standard the golang toolchain:

git clone https://git.sr.ht/~thecashewtrader/miniflinks
cd miniflinks
go build .

Usage

Obtain the config file and edit it:

mkdir -p ~/.config/miniflinks
wget https://git.sr.ht/~thecashewtrader/miniflinks/blob/main/config.example.yaml -O ~/.config/miniflinks/config.yaml

Then, simply run miniflinks to sync.

Configuration

The config file is stored in $XDG_CONFIG_HOME/miniflinks/config.yaml.

  • url: URL of the Miniflux instance.
  • username: Your username.
  • password: Your password.
  • blacklisted_links: A list of strings to check as a prefix. Feeds with URLs matching any of the links will not be included.

Also see config.example.yaml.

Additionally, you can add two more files to $XDG_CONFIG_HOME/miniflinks/:

  • full_template.md: A template file written in Go Templates for generating the page. It is provided the Links variable. See the default template.
  • single_template.md: A template file written in Go Templates for generating a single link. It is provided the Title,Link, and Domain variables. See the default template.

Usage With friends.txt

You can use Miniflinks to generate a friends.txt file using the full_template.friends.md and single_template.friends.md templates.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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