Code Monkey home page Code Monkey logo

dbmc's Introduction

豆瓣·我读

dbmc(Douban Book My Collections)可获取用户的我读数据,并生成相应的Markdown文件,方便嵌入到个人的静态站点中使用。

quickstart

  • 将项目克隆到本地后,将config.py中的DBID变量替换成你自己的豆瓣ID。
  • pip install -r requirements.txt 来安装依赖。
  • 使用python dbmc.py生成我读的 Markdown 文件,默认在 output 目录下。
  • 将生成的文件放到自己的静态站点源码目录中,即可生成个人风格的豆瓣读书主页。例如我的我读

模板

  • 项目使用Jinja2来渲染,模板的路径在config.py中设置。也可以自己修改模板。

dbmc's People

Contributors

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