C-D-Lewis / xeno

Simple client for Reddit

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

xeno

Lightweight Reddit browser PWA using fabricate.js.

Features

  • Reddit OAuth login.
  • Search bar for any subreddit or username.
  • Drawer with list of user's subscribed subreddits.
  • Feed built from recent popular posts in subscribed subreddits.
  • Settings page with options and rate limit usage summary.
  • Can be installed as a PWA to homescreen.
  • Either list or gallery display modes.
  • Multiple sort modes.
  • Notation when a post is new since last reload.
  • Collapsible comment tree.
  • Navigation by post author or subreddit name.
  • Simple inline image and video where extractable.
  • Subscribe/unsubscribe from subreddits.

Setup

Install dependencies:

npm ci

Setup env.js file using credentials from Reddit apps prefs:

window.CLIENT_ID = '';
window.CLIENT_SECRET = '';
window.REDIRECT_URI = '';

Run

Build and run:

npm start

Screenshots

Drawer of subreddits Post comments
Gallery view List view
Settings page Install as PWA

About

Simple client for Reddit


Languages

Language:TypeScript 94.1%Language:Shell 3.0%Language:JavaScript 1.2%Language:HTML 1.0%Language:HCL 0.7%