Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/e-jigsaw/archivebox-api
https://github.com/e-jigsaw/archivebox-api
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/e-jigsaw/archivebox-api
- Owner: e-jigsaw
- Created: 2024-02-10T23:33:16.000Z (11 months ago)
- Default Branch: m
- Last Pushed: 2024-02-10T23:44:26.000Z (11 months ago)
- Last Synced: 2024-10-11T23:28:55.459Z (2 months ago)
- Language: TypeScript
- Size: 5.86 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# archivebox-api
[ArchiveBox](https://github.com/ArchiveBox/ArchiveBox) REST API is [alpha](https://github.com/ArchiveBox/ArchiveBox/issues/496).
This read sqlite db with [bun](https://bun.sh) [sqlite](https://bun.sh/docs/api/sqlite) module and serve with [hono](https://hono.dev/).
## API
### GET `/snapshots`
params
```
page: string
```returns
```
id: string
title: string
url: string
```## dev
To install dependencies:
```bash
bun install
```To run:
```bash
bun run index.ts
```This project was created using `bun init` in bun v1.0.26. [Bun](https://bun.sh) is a fast all-in-one JavaScript runtime.