Skip to content

PaulJeoung/text-news-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

terminal text news

system structure

news-cli/
├── api/
│   └── naverApi.js          # 네이버 OpenAPI 조회
├── config/
│   └── naverConfig.js       # API Key, baseUrl
├── services/
│   ├── articleService.js    # Puppeteer-core / Chrome 본문 크롤링
│   └── newsService.js       # 뉴스 리스트 출력, 메뉴
├── utils/
│   └── prompt.js            # readline-sync wrapper
└── index.js                 # CLI 실행 엔트리

system initialize

1. 프로젝트 초기화

npm init -y

2. 필요한 라이브러리 설치

npm install axios readline-sync cheerio puppeteer puppeteer-core chalk

3. 실행

node index.js

About

CLI mode 에서 뉴스 기사 검색

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors