https://github.com/leon-kfd/howdz-deno
A Deno pratice project to deploy some API.
https://github.com/leon-kfd/howdz-deno
deno
Last synced: 12 months ago
JSON representation
A Deno pratice project to deploy some API.
- Host: GitHub
- URL: https://github.com/leon-kfd/howdz-deno
- Owner: leon-kfd
- Created: 2022-03-11T13:24:10.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2024-03-08T09:10:12.000Z (over 2 years ago)
- Last Synced: 2024-03-08T10:25:15.570Z (over 2 years ago)
- Topics: deno
- Language: TypeScript
- Homepage: https://howdz.deno.dev
- Size: 14.6 KB
- Stars: 1
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Howdz Deno
This is a `Deno` pratice project by [Leon.D](https://kongfandong.cn)
---
## 🚀Public API
**Movie**
+ **[/movieLines](https://howdz.deno.dev/movieLines)** - Return random movie lines for json type.
+ **[/movieLinesList](https://howdz.deno.dev/movieLinesList)** - Return movie lines cache list for json type.
---
**Photo**
+ **[/bing/daily](https://howdz.deno.dev/bing/daily)** - Return daily photo from Bing.
*Params: (`w`: number, `h`: number, `type`: 'redirect' | 'json')*
+ **[/bing/list](https://howdz.deno.dev/bing/list)** - Return recent half month Bing daily photo list for json type.
+ **[/unsplash/random](https://howdz.deno.dev/unsplash/random)** - Return random photo from Unsplash.
*Params: (`w`: number, `h`: number, `type`: 'redirect' | 'json', `keyword`: string)*
+ **[/unsplash/list](https://howdz.deno.dev/unsplash/list)** - Return Unsplash list from daily cache for json type.
+ **[/sina/random](https://howdz.deno.dev/sina/random)** - Return random photo from sina (transfer).
---
**HotList**
+ **[/hotList/zhihu](https://howdz.deno.dev/hotList/zhihu)** - Return Zhihu hot list
+ **[/hotList/weibo](https://howdz.deno.dev/hotList/weibo)** - Return Weibo hot list
+ **[/hotList/juejin](https://howdz.deno.dev/hotList/juejin)** - Return Juejin hot list
---
## 🔨Development
Download `Deno` Client, and add System Path.
```
deno run --allow-net main.ts
```
Then visit https://localhost:8888
This project just run in single file, so you can deploy it in [Deno Deploy](https://deno.com/deploy) easily.