Coder Social home page Coder Social logo

cryboy007 / zhihu-archiver Goto Github PK

View Code? Open in Web Editor NEW

This project forked from songquanpeng/zhihu-archiver

0.0 0.0 0.0 13 KB

每日自动抓取知乎热榜,之后转换成 Markdown 文件并构造静态网站

Home Page: https://zhihu.justsong.cn/

Python 96.51% Shell 3.49%

zhihu-archiver's Introduction

知乎热榜备份

描述

每日自动备份知乎热榜,并构建静态网站。

在线预览:https://zhihu.justsong.cn/

仓库地址:https://github.com/songquanpeng/zhihu-archiver

Fork 示例仓库地址:https://github.com/justsong-lab/zhihu-archiver

部署

部署方式 #1:GitHub Action + GitHub Pages

  1. 首先 fork 本项目;
  2. 之后去 Actions 页面启动 workflow。
  3. 去仓库设置页面启用 GitHub Pages,选择 master 分支下的 docs 目录。

部署方式 #2:自己的服务器 + GitHub Pages

  1. 首先 fork 本项目;
  2. 之后在你的服务器下 clone 你的 fork,并进入项目目录;
  3. 配置 Python 环境并安装依赖:
    sudo apt install python-is-python3 python3-pip
    pip install -r requirements.txt
  4. 给脚本执行权限:chmod u+x ./update.sh
  5. 之后设置 crontab 如下:
    0 18 * * * cd /path/to/zhihu-archiver && ./update.sh
    
  6. 再之后去仓库设置页面启用 GitHub Pages,选择 master 分支下的 docs 目录。

zhihu-archiver's People

Contributors

songquanpeng 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.