GithubHelp home page GithubHelp logo

darkborderman / pycon_archive_past_website Goto Github PK

View Code? Open in Web Editor NEW

This project forked from pycontw/pycon_archive_past_website

0.0 2.0 0.0 91.51 MB

Freeze and archive historical PyConTW official websites as static sites.

License: MIT License

Python 100.00%

pycon_archive_past_website's Introduction

PRs Welcome Conventional Commits Code style: black

PyCon TW Archived Websites

The resting place for historical PyCon TW websites.

In order to better preserve things, we crawl each year's PyCon TW website into static HTML after the conference ends. The static websites are served on GitHub Page and the requests for historical websites are proxied from tw.pycon.org to GitHub Page with pycontw-nginx. See the crawling script on main branch and the archived HTML on gh-pages branch.

Getting Started

Prerequisites

Usage

  • Installing dependencies

    pipenv install
  • To scrap a specific PyCon TW website, insert the command

    pipenv run python main.py -y [YEAR] --base [BASE]

    where YEAR should be the path of website (e.g. 2020 for https://tw.pycon.org/2020) and BASE for the base URL or base path used in the static HTML.

  • To serve scraped static pages on your local machine, run the command:

    python -m http.server --cgi [PORT]

    and then access localhost:[PORT].

    or run the command:

    pipenv run serve

    and access localhost:5000.

Contributing

See Contributing

Authors

PyCon Taiwan

Created from Lee-W/cookiecutter-python-template version 1.1.2

pycon_archive_past_website's People

Contributors

allen91wu avatar darkborderman avatar github-actions[bot] avatar josix avatar maliaotw avatar mattwang44 avatar mozixreality 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.