Skip to content

harishr1308/something-for-reddit

 
 

Repository files navigation

Something For Reddit

A simple Reddit client for GNOME, built for touch, mouse and VIM keyboards.

Screenshot 1

Screenshot 2

Features

  • Touchscreen tested interface
  • VIM style keybindings
  • View subreddits, comments and user pages
  • Vote on comments and links, write replies
  • Integrated WebKit2 browser for viewing links
  • Multi-account support

Packages

Distro Command Info
Fedora dnf copr enable samtoday/something-for-reddit; dnf install something-for-reddit https://copr.fedorainfracloud.org/coprs/samtoday/something-for-reddit/
Archlinux yaourt -S something-for-reddit-git https://aur.archlinux.org/packages/something-for-reddit-git/
openSUSE https://software.opensuse.org/package/something-for-reddit

Installing

I did this ages ago, so I don't really remember.

  1. Install gnome-common
  2. Install the python3-arrow and python3-markdown
  3. Install libglib2.0-dev,libgtk-3-dev,libsoup2.4-dev,libjson-glib-dev
  4. Install a SCSS compiler (eg. rubygem-sass on Fedora). This is very important because otherwise it will fail to build. For Ubuntu run the following commands : sudo apt-get install rubygems ruby-dev sudo su -c "gem install sass" sudo gem install sass
  5. Install the package gobject_introspection by using the command sudo apt install gobject-introspection

Installing libglib2.0_50

  1. Install the package libffi-dev,libmount-dev
  2. Download the package from https://launchpad.net/ubuntu/+archive/primary/+files/glib2.0_2.50.0.orig.tar.xz
  3. Extract it using the command tar vvfj glib2.0*
  4. Follow the installation procedure given in the file INSTALL

Installing gtk+3.22

  1. Install the packages `libpango1.0-dev libatk1.0-dev
  2. Download the package for gtk3+ http://ftp.gnome.org/pub/gnome/sources/gtk+/3.22/gtk+-3.22.1.tar.xz
  3. Extract it using the command tar xvfj gtk+-3*
  4. Open the directory using the linux command cd and run ./configure --prefix=/opt/gtk
  5. If you have two versions of glib installed then set environment variables as PKG_CONFIG_PATH=/usr/local/lib/pkgconfig and LD_LIBRARY_PATH=/usr/local/lib export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib
  6. make
  7. make install

Other requirements

  1. Install libwebkit2gtk-4.0-dev Then you can just install it like any usual program.

  2. Download the source code (eg. git clone https://github.com/samdroid-apps/something-for-reddit; cd something-for-reddit)

  3. ./autogen.sh

  4. make

  5. sudo make install

There is a .desktop file, but it is also reddit-is-gtk command

Please report the bugs or deficiencies that you find via Github Issues.

Roadmap

Feel free to contribute and do whatever you want.

Please try and use Flake8!

  • Any app icon suggestions/designs are appreciated
    • The current one isn't great at all
  • Replace the media previews, integrate them with the comments view
  • Use gettext
    • If you are interested in translateing this app, please email me!
  • Search all the subreddits on reddit
  • Manage subreddits dialog
  • Better handle private messages
  • Multireddits in the urlbar list
  • Mutlireddit add/remove subreddits

Long Term

  • Optimise the comments view performance
  • Separate the reddit json parsing from the view components
  • Support other sites (eg. hackernews)

About

A Reddit Client For GNOME (with Gtk+ and Python)

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 71.2%
  • Vala 21.0%
  • CSS 3.7%
  • Makefile 2.2%
  • M4 1.6%
  • Shell 0.3%