Skip to content

Latest commit

 

History

History
107 lines (76 loc) · 2 KB

README_US.md

File metadata and controls

107 lines (76 loc) · 2 KB

English | 中文

my geektime

This is a tool to obtain the geektime video or articles with you geektime account


Local Docs

git clone https://github.com/zkep/mygeektime.git

pip install mkdocs-material

mkdocs serve

browser web url: http://127.0.0.1:8000/

Install

install with docker compose

git clone https://github.com/zkep/mygeektime.git

cd mygeektime/docker

docker-compose up -d

browser web url: http://127.0.0.1

install with docker

docker run  -d  --restart always \
--name mygeektime  \
-p 8090:8090 \
-v repo:/repo \
-v config.yml:/config.yml \
zkep/mygeektime:latest  server --config=config.yml
docker with specify download directory

replace ${directory} with you local directory

docker run  -d  --restart always \
-p 8090:8090 \
--name mygeektime \
-v config.yml:/config.yml \
-v ${directory}:/repo  \
zkep/mygeektime:latest  server   

browser web url: http://127.0.0.1:8090

install with golang

go install github.com/zkep/mygeektime@latest

Start web service

Default configuration to start HTTP service
mygeektime server
Customize configuration to start HTTP service
# Use custom configuration templates
mygeektime server --config=config.yml

MacOS

brew install ffmpeg        

Linux

git clone https://github.com/FFmpeg/FFmpeg.git ffmpeg

cd ffmpeg

./configure --enable-gpl --enable-libx264

make && make install

Simulate user login:

Method 1: The browser developer tool retrieves a valid Geektime cookie

thanks

Join our communication group