Git Product home page Git Product logo

arxiv_reader's Introduction

ARXIV READER FOR MUTT

This is a python script to nicely present arxiv news feed. I use it together with the mutt email reader. It is written using the ncurses library :). It highlights titles whihc are written by $ARXIV_AUTHORS or ones that matches a pattern. It can also fetch abstracts, pdfs or just open the link in your $BROWSER.

Configuration

Add to ~/.muttrc file the following snippet:

macro index,pager X "<pipe-message>arxiv_reader.py<enter>Wo" "parse message through arxive_reader.py"

Then when you are over email fro arxiv type X and the scritp will parse the email and list all the titles.

You should also set the $BROWSER environment variable, $PDFREADER. Or just change the $BROWSER and $PDFREADER variables in the script directly. You should also change the $DOWNLOADDIR variable. By default it is set to $HOME/downloads and if does not exist it is reset to /tmp.

How to

Go up and down with j and k keys (or the arrow keys). Hit enter (or <space>, or a) to read the abstract. If it was not included in the email it will be downloaded from the arxiv web page. If you hit u the paper's url will be opened using your $BROWSER. You can also save an entry to database: with s, or delete it with d (sqlite3 database placed in $HOME/.arxiv.db). The g key will get/download the most recent version of the paper and O will open the file in $PDFREADER.

Press q to close the abstract window or quit the reader.

If you define $ARXIV_AUTHORS environment variable titles of matching authors will be highlighted. $ARXIV_AUTHORS is a white space separated list of names.

It also hightlights the title if $ARXIV_ABSTRACT_PATTERN match the title or the abstract. $ARXIV_ABSTRACT_PATTERN is a Python pattern (can be written like r"" litterals).

arxiv_reader's People

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

arxiv_reader's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.