An ncurses based client for Feedly.
First run autogen.sh
script.
Then run your standard make commands. Here is a one liner:
./configure && make && sudo make install
Thank you @chrisjohnston for mentioning the following dependencies for Ubuntu:
sudo apt-get install dh-autoreconf libjsoncpp-dev libcurl4-gnutls-dev libncurses5-dev
For macOS with Homebrew, install the prerequisites with:
brew install jsoncpp
Install to /usr/local/bin
with the following:
./configure --prefix=/usr/local && make && make install
Due to the fact that this is open source, the administrators at Feedly have asked me to use their developer tokens instead of giving me a client secret. To explain, if I were to use a client secret I would need to distribute it along with the source code. This is an obvious security risk and I am going to keep this project open source, hence this new method.
Unfortunatley, as of now, the Developer tokens have an expiration of three months. This means that you must create a new one every three months.
I have modified Feednix to help you with this. IT CANNOT DO THIS AUTOMATICALLY since developer tokens involve sending you an email to retrieve them.
- q : Exit
- Vim Key mappings for navigation (j,k)
- Enter : open post preview
- o (lower case) : Open post link in console (currently using w3m)
- O (upwer case) : Open post link in Browser (user default)
- r : Mark post read
- u : Mark post unread
- A : Mark all posts read
- P : Save post to Pocket (Feedly Pro user only)
- R : Refresh category
- = : Change sort type
- Enter : Fetch Stream (Retrive post by category)
- A : Mark category read
- R : Refersh highlighted category (Retrive post by category)
Feednix will create a setting file on the first launch at ~/.config/feednix/config.json
.
seconds_to_mark_as_read
(integer, default =0
): Indicates how many seconds an article should have been shown for when Feednix marks it as read automatically. A negative value indicates that Feednix won't mark an article as read unless you does so by "r" key.text_browser
(string, default =w3m
): Specifies a text-based web browser to use for opening a post inside the terminal.
Please feel free to send a pull request.
The follwoing only lists major updates. For everything in between please see the change log.
Once again many thanks to lejenome for the following:
- fix panels array length
- add travis-ci config file
- use global TMPDIR var instead of class depend tmpdir var
- move tmpdir creation to FeedluProvider and use it for temp.txt file too
- make update_statusline char* params const
- minimaze updating info bar code into a common function
- replace tabs with 8 spaces
- add .gitignore file
Many thanks to lejenome for the following:
- use $TMPDIR (mkdtemp) for preview.html file to avoid unneeded disk access
- add a new panel to shown a quick preview for current selected item (html formated by w3m) instead of the need to open w3m for previews
- add 3 new config options to add some interface tweaks (ctg_win_width: to change ctgWin width, view_win_height: to set viewWin height, view_win_height_per: to set viewWin height percent that can be used instead of the previous option and overwirte it)
- fix unreading unreaded post when handling "u"
- fix mark as read aleardy marked as read posts on "O" handling