Coder Social home page Coder Social logo

waqasbhatti / astroph-coffee Goto Github PK

View Code? Open in Web Editor NEW
13.0 2.0 7.0 19.44 MB

A small Tornado webapp to review and vote on astro-ph papers

License: MIT License

Shell 0.05% Python 4.13% CSS 0.10% JavaScript 0.23% Makefile 0.07% HTML 1.10% PLpgSQL 0.03% C 94.27% C++ 0.02%
python astro-ph arxiv tornado astronomy

astroph-coffee's Introduction

astroph-coffee - A simple platform for astro-ph arXiv discussion

This server helps organize astro-ph discussion by providing a way for people to see local papers and vote on papers they want to talk about. It has the following components:

  • backend with arxiv scraping
  • article abstract and metadata storage in sqlite3
  • frontend built with tornado for viewing and voting on papers
  • an archive of previous astro-ph discussions
  • geofencing (and IP-address fencing) using the Maxmind GeoLite2 database to restrict voting locations
  • reserving papers for later discussion (up to a week after their appearance)
  • full-text search for paper titles, abstract titles, and author names

See the INSTALL.md file for instructions on how to install and run the server. If you have questions or problems, please open an issue or drop me an email.

How it works

Everyone gets five votes to use in total per day, with one per paper. In addition, everyone may reserve up to five papers for later discussion. The server generally operates in two modes:

  1. Vote mode: this is active whenever the voting period is active (defined in src/conf/astroph.conf). Papers are shown in their serial number order as on the astro-ph list page, and users can vote on papers they'd like to see talked about. Users can also reserve papers during the voting period for up to seven days if they want to talk about the papers at a later discussion session.

    Voting mode image

  2. Display mode: this is active outside the voting period. Local papers are highlighted at the top of the page with their full abstracts. Papers with at least one vote are shown below papers with local authors, in order of the number of votes they received. Reserved papers are shown next in reversed-order of their original arXiv appearance. Finally, all other papers are listed below the local, voted, and reserved papers.

    Display mode image

An archive of all paper abstracts is also provided in reverse chronological order, grouped by month and year to make it easy to see what people were interested in talking about on previous days.

astroph-coffee's People

Contributors

waqasbhatti avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

astroph-coffee'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.