remix-tiledhn

所属分类:系统/网络安全
开发工具:TypeScript
文件大小:0KB
下载次数:0
上传日期:2023-11-28 04:45:18
上 传 者sh-1993
说明:  Tiled Hacker新闻,混音、Zod和FxTS
(Tiled Hacker news with Remix, Zod & FxTS)

文件列表:
.dockerignore (64, 2023-12-09)
.env.example (85, 2023-12-09)
.eslintrc.js (525, 2023-12-09)
.npmrc (22, 2023-12-09)
.prettierignore (66, 2023-12-09)
Dockerfile (1489, 2023-12-09)
app/ (0, 2023-12-09)
app/components/ (0, 2023-12-09)
app/components/comment-tree.tsx (1348, 2023-12-09)
app/components/grid.tsx (1437, 2023-12-09)
app/components/loading.tsx (703, 2023-12-09)
app/components/nav.tsx (2067, 2023-12-09)
app/components/pagination.tsx (967, 2023-12-09)
app/db.server.ts (657, 2023-12-09)
app/entry.client.tsx (525, 2023-12-09)
app/entry.server.tsx (1497, 2023-12-09)
app/models/ (0, 2023-12-09)
app/models/api.server.ts (1551, 2023-12-09)
app/models/apitype.server.ts (2420, 2023-12-09)
app/models/cached-api.server.ts (1406, 2023-12-09)
app/models/user.server.ts (1500, 2023-12-09)
app/redis.server.ts (360, 2023-12-09)
app/root.tsx (6742, 2023-12-09)
app/routes/ (0, 2023-12-09)
app/routes/about.tsx (2371, 2023-12-09)
app/routes/ask.tsx (1453, 2023-12-09)
app/routes/index.tsx (1542, 2023-12-09)
app/routes/jobs.tsx (1502, 2023-12-09)
app/routes/show.tsx (1540, 2023-12-09)
app/routes/story/ (0, 2023-12-09)
app/routes/story/$storyId.tsx (3463, 2023-12-09)
app/session.server.ts (2646, 2023-12-09)
app/styles/ (0, 2023-12-09)
app/styles/app.css (206, 2023-12-09)
app/styles/tailwind.css (59, 2023-12-09)
app/utils.test.ts (448, 2023-12-09)
... ...

# Tiled Hacker news on [Remix](https://remix.run/) [See it running live on Vercel](https://remix-tiledhn.vercel.app/) ![Screenshot of the UI](./screenshot.png) ## Requirements Docker, Podman or Redis installed locally. If you have Podman or Docker just bring up the docker-compose.yml ## Install intructions ``` pnpm i pnpm dev ``` ## Description It uses [FxTS](https://fxts.dev/) to concurrently get news details & comments. [Zod](https://zod.dev) is used to validate the structure of the data returned by the API. It also recursively parse comments. News/stories/comments are cached in Redis. Pagination to come... ## Files of interest - app/models/api.server.ts - app/models/apitype.server.ts - app/models/cached-api.server.ts - app/routes/index.tsx

近期下载者

相关文件


收藏者