Giter Site home page Giter Site logo

mbaddar / scienceinfluencers Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 1.0 403 KB

An ArXiv paper search tool

Home Page: http://scienceinfluencers-3bb32e13-1.c46e36e7.cont.dockerapp.io/

License: The Unlicense

Python 82.74% HTML 17.26%
rest-api arxiv containerization semanticscholar-api

scienceinfluencers's Introduction

Science Infuencers:

An ArXiv paper search tool

  • Using Arxiv API to search for papers
  • Using Semantic Scholar to get influence details. Not all papers have matching records there.

Content:

1. Running the app:

2. Containerization:

3. Implementation

4. Hurdles:

5. Future work:

1. Running the app:

2. Containerization:

  • Docker image built on the AWS staging machine
  • Using docker cloud to proxy container hosting on AWS
  • Image pushed to Docker hub repository: https://hub.docker.com/r/baddar/scienceinfluencers/
  • Docker cloud linked with github for continuous intergration. Unfortunately building on docker hub is very unstable. However I have tried to push updates and it automatically triggers a new image build and deply. This also can be controlled by tagging the image and branching on github (To build a staging container for instance)
  • Discarded docker cloud build and used an AWS instance to build the image then push it to docker hub
  • Used google clould shell (Tutorial here) to build the image and push it to GCP then create a Kubernetes cluster. Still in progress

3. Implementation:

  • Arxiv API: Outputs XML. I parsed it into a pandas dataframe and convert it to HTML, then manually inject hrefs for the URLs as pandas cannot do that
  • Using JQuery and DataTables to add sort and pagination to the results
  • No database implementation
  • Google OAuth 2.0 authentication implemented for login.
  • Code in main.py. Google code uses auth.py

4. Hurdles:

  • Using Docker Cloud to build my docker image.
  • Using Alpine Linux image at first. Since Pandas and many of its dependencies has to be built from source.

5. Future work:

  • Rearranging results. Expanding summary. More UX etc.
  • Adding Timeline: Histogram trends over time
  • Include twitter influence analysis. Semantic scholar does this but no API was exposed
  • Database
  • Add more ArXiv query capabilities: Search by title, author, etc
  • Completing Kubernetes cluster configuration

scienceinfluencers's People

Contributors

mbaddar avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Forkers

codeaudit

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.