Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rohannair/readitlater
https://github.com/rohannair/readitlater
bun drizzle-orm hono nextjs shadcn-ui tailwindcss typescript
Last synced: 12 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/rohannair/readitlater
- Owner: rohannair
- License: agpl-3.0
- Created: 2024-06-05T15:27:34.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2024-08-19T17:48:42.000Z (3 months ago)
- Last Synced: 2024-10-04T22:11:54.073Z (about 1 month ago)
- Topics: bun, drizzle-orm, hono, nextjs, shadcn-ui, tailwindcss, typescript
- Language: TypeScript
- Homepage:
- Size: 1.26 MB
- Stars: 5
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Read It Later
- Store links, organize, and annotate
- Use LLMs to summarize
- Share links with friendsThis application uses [Bun](https://bun.sh/), [Hono](https://hono.dev), [Next.js]([https://](https://nextjs.org/)).
## Getting Started
### Prerequisites
1. Install Bun:
```shell
$ curl -fsSL https://bun.sh/install | bash
```
2. Clone repo
3. Set up `.env`
__Note: the base repo uses [Infisical](https://infisical.com/)__
4. `bun install`### Running migrations
1. Ensure DB_URL is populated
2. `bun drizzle-kit push`## Overall architecture
```mermaid
%%{init: {'theme': 'base', 'themeVariables': { 'primaryColor': '#f7c8db', 'primaryTextColor': '#2a0a1b', 'primaryBorderColor': '#d7678f', 'lineColor': '#d7678f', 'secondaryColor': '#fde7f0', 'tertiaryColor': '#fbbad1' }}}%%graph TD
%% Styling
classDef default fill:#f7c8db,stroke:#d7678f,stroke-width:2px,color:#2a0a1b;
classDef clients fill:#fde7f0,stroke:#d7678f,stroke-width:2px,color:#2a0a1b;
classDef mlservices fill:#fbbad1,stroke:#d7678f,stroke-width:2px,color:#2a0a1b;
classDef database fill:#d7678f,stroke:#a13d62,stroke-width:2px,color:#ffffff;subgraph Clients
A[Next.js App]
B[Svelte Chrome Extension]
endD[REST API]
subgraph ML Services
E[OpenAI]
G[Jina]
endH[(Supabase Postgres)]
I[Trigger.dev]
J[Resend]A --> D
B --> D
D --> H
D --> I
I --> J
I --> E
I --> G%% Applying styles
class A,B clients;
class E,G mlservices;
class H database;
```