Skip to content

Commit

Permalink
Release v2.1.0, last commit for a while, farewell
Browse files Browse the repository at this point in the history
  • Loading branch information
ramesaliyev committed Jul 29, 2024
1 parent 5009297 commit ae2180e
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 7 deletions.
8 changes: 3 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
# ✂️ [kes.im](https://kes.im) URL Shortener

[![Kes.im Homepage](./assets/images/screenshot.png)](https://kes.im)

[![Github Actions Status](https://github.com/ramesaliyev/kes.im/actions/workflows/test-and-deploy.yml/badge.svg)](https://github.com/ramesaliyev/kes.im/actions/workflows/test-and-deploy.yml)
# [kes.im](https://kes.im) ✄ URL Shortener [![Github Actions Status](https://github.com/ramesaliyev/kes.im/actions/workflows/test-and-deploy.yml/badge.svg)](https://github.com/ramesaliyev/kes.im/actions/workflows/test-and-deploy.yml)

[kes.im](https://kes.im) is an ad-less no-log URL shortener. Works on [Cloudflare Workers](https://workers.cloudflare.com/). Developed with pure front-end and workers TS code. Uses [D1](https://www.cloudflare.com/developer-platform/d1/) as database (currently migrating from KV on the fly).

[![Kes.im Homepage](./assets/images/screenshot-rocks.png)](https://kes.im)

# Architecture Overview

Currently there are 3 packages: [common](./packages/common), [worker](./packages/worker/) and [site](./packages/site). **Common** is a library package used by other two. **Worker** is the actual Cloudlfare worker code which includes api and static asset server. Lastly **site** includes the front-end app and all public static assets to serve.
Expand Down
Binary file added assets/images/screenshot-rocks.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "kes.im",
"version": "2.1.0-beta",
"version": "2.1.0",
"private": true,
"type": "module",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion packages/worker/src/app/model.ts
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ export default class AppModel {

// If KV has the URL, first remove it.
// Then check if we should insert to D1.
this.#db.kvLinksDelete(slug);
await this.#db.kvLinksDelete(slug);

// Check if D1 has URL with another slug.
// If it does, we should not insert to D1 and return null.
Expand Down

0 comments on commit ae2180e

Please sign in to comment.