Code Monkey home page Code Monkey logo

superskyyy / stackoverseer Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 844 KB

This is a StackOverflow monitor where you can easily access the most trending and up-to-date questions on a particular set of tags. This project can be modified to support wider range of tags and provide functionalities.

License: MIT License

Python 14.18% JavaScript 0.49% CSS 75.63% HTML 9.55% Dockerfile 0.15%
stackoverflow-api stackoverflow-questions data-visualization charts

stackoverseer's Introduction

StackOverseer

See the titles of the 10 newest User-defined-related questions and the 10 most voted in the past week.

"core"

Core Feature:

  • On the left sidebar, a tools section gives the entrance to two pages.

  • Each serves a real-time monitored page on 10 latest or 10 trending Questions on "#Android".

  • By clicking on the buttons/ interactive UI, a user can

    1. Navigate to original Question page via new tab.
    2. Preview Question & Answer threads by clicking on the listed question.
    3. See the Votes & Answer count in a straightforward UI.
  • StackOverflow disallows accessing any answer-related-content via iFrames or API. Parsing the RSS feed became the next best option.

  • These pages can be stacked or modified to take user inputs on monitoring different tags/filters with few changes.

Limitations

Features like voting are not implemented as it requires complex auth process. UI components are in place though.

Bonus Features:

  • Following two features doesn't use real-time scraping due to API limits and costs. Few minor modifications will allow more frequent runs.

  • Almost responsive design.. smartphone compatible.

"heatmap"

  • Data visualization of "User heatmap who asked a Android related question over the past week"
    • This feature is implemented using Leaflet.js

"wordcloud"

  • Data visualization of "Technologies most related to Android over the past week"
    • This feature is implemented using wordcloud2.js and a Geocoder API.

Built With

Technologies

  • Django - The web framework for perfectionists with deadlines.
  • jQuery - jQuery JavaScript Library.
  • Bootstrap - The most popular HTML, CSS, and JavaScript framework for developing responsive, mobile first projects on the web.
  • Font-Awesome - The iconic SVG, font, and CSS toolkit.
  • Leaflet - JavaScript library for mobile-friendly interactive maps.
  • wordcloud2.js - Tag cloud/Wordle presentation on 2D canvas or HTML.
  • Feedparser - Parse feeds in Python.
  • Docker - Docker Engine.
  • Gunicorn - Python Http Server.

Services

TO DO LIST:

  • Cleanup code
  • Better Responsive Design

Deploy

Docker - Gunicorn - Tencent Cloud

This project is Dockerized

Configurations

  1. Modify settings.py in StackOverseer, make sure docker is set to True
  • To run the project in pure local env (Not recommended).

  • To build the source code in your local Docker

    • The docker container will automatically reflect latest change of source code. So don't build again, run > docker-compose up instead.
    1. Clone the code, make sure docker is running
    2. Make sure the DOCKER Variable is set to True in settings.py
    3. Run following commands
      [Windows Git Bash]> winpty docker-compose run web python manage.py createsuperuser
      
      [Unix & Powershell]> docker-compose run web python manage.py createsuperuser
      
      docker-compose build
      
      docker-compose up
      

PyLint

  • Pycharm - Preference - Plugin - Marketplace

  • Search for Pylint, Install it and reboot Pycharm. Pylint will appear as an icon in lower left corner, there's one inside VCS - Commit too.

Requirements

Python path can be found by

import sys
      
print("Python EXE : " + sys.executable)

stackoverseer's People

Contributors

code-factor avatar superskyyy avatar

Watchers

 avatar  avatar

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.