Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ashu11-a/kython

Fast and low overhead web framework
https://github.com/ashu11-a/kython

bun deno framework framework-http http http-requests http-server node nodejs

Last synced: 15 days ago
JSON representation

Fast and low overhead web framework

Awesome Lists containing this project

README

        

# Kython

![license-info](https://img.shields.io/github/license/Ashu11-A/Kython?style=for-the-badge&colorA=302D41&colorB=f9e2af&logoColor=f9e2af)
![stars-infoa](https://img.shields.io/github/stars/Ashu11-A/Kython?colorA=302D41&colorB=f9e2af&style=for-the-badge)

![Last-Comitt](https://img.shields.io/github/last-commit/Ashu11-A/Kython?style=for-the-badge&colorA=302D41&colorB=b4befe)
![Comitts Year](https://img.shields.io/github/commit-activity/y/Ashu11-A/Kython?style=for-the-badge&colorA=302D41&colorB=f9e2af&logoColor=f9e2af)
![reposize-info](https://img.shields.io/github/languages/code-size/Ashu11-A/Kython?style=for-the-badge&colorA=302D41&colorB=90dceb)

![SourceForge Languages](https://img.shields.io/github/languages/top/Ashu11-A/Kython?style=for-the-badge&colorA=302D41&colorB=90dceb)

## šŸ“ƒ | Description

This project was born from the idea of creating a native framework for Bun, Deno, or Node, aiming to be faster than alternatives like Fastify or Express. Iā€™m working to achieve this goal, but for now, this project is just an experiment. I do not recommend using it in production, and no support is available.

## ā“ | How to use

```ts
import { Kython, Router } from './src/index'

const server = new Kython()

server.get('/', (_request, response) => {
response.send('Hello world')
})

new Router({
path: '/exemple',
methods: {
get(_request, response) {
response.json({ hello: 'world' })
}
}
})

server.listen(3000, '0.0.0.0')
```