Home

Awesome

Introduction

ybFeed is a personal micro feed where you can post snippets of text or images.

The primary use case is to share information between computers when you don't have the possibility to copy/paste, like on a restricted VDI environment.

Open the feed on your local computer, and the remote one, then everything will be kept in sync when you add or remove items.

Concepts

On ybFeed home page, you are invited to create a feed with a unique name.

Once on a feed, you can paste data in it, text or images, they will be displayed in reverse order.

You can then decide to share the feed two different ways :

Screenshot

Screenshot

Caveats

This is just a side project I'm working on, so there is probably lots of issues.

Feel free to open GitHub issues to reuest features or bug fixes.

Here are some I already identified :

Environment variables

Variable nameDescription
YBF_DATA_DIRpoints to an alternative direcotry to store data, default is ./data/ in current directory.
YBF_HTTP_PORTTCP port to run the server, default is 8080.
YBF_LISTEN_ADDRIP address to bind, default is 0.0.0.0.

Installation

Using Docker registry

Use this method to treat youself with a quick demo of the most current version

mkdir data
docker run -p 8080:8080 -v $(pwd)/data:/data ghcr.io/ybizeul/ybfeed:latest

You can now point your browser to http://localhost:8080/

Using Docker from source

Use this method if you're interested by the code and hacking around

git clone https://github.com/ybizeul/ybFeed.git
cd ybFeed
docker compose up -d

You can now point your browser to http://localhost:8080/

Building

Using Makefile

make

Manually

Once you cloned the repository, issue the following commands :

cd web/ui/

# Install node dependencies
npm install

# Build UI
npm run build

# Build Go binary
cd ../../
go build -o ybFeed cmd/ybfeed/*.go

# Run ybFeed
./ybFeed

# Point your browser to port http://localhost:8080

Building container

docker build . -t ybfeed