https://github.com/hominsu/slink
shortlink service
https://github.com/hominsu/slink
cuckoo-filter daisyui golang grpc grpc-go kratos mysql qwik qwik-city shortlink shortlinks sqlite3 typescript url-shortener
Last synced: 8 months ago
JSON representation
shortlink service
- Host: GitHub
- URL: https://github.com/hominsu/slink
- Owner: hominsu
- License: mit
- Created: 2023-03-04T09:06:04.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-05-10T04:00:03.000Z (over 1 year ago)
- Last Synced: 2024-11-16T04:00:34.556Z (11 months ago)
- Topics: cuckoo-filter, daisyui, golang, grpc, grpc-go, kratos, mysql, qwik, qwik-city, shortlink, shortlinks, sqlite3, typescript, url-shortener
- Language: TypeScript
- Homepage: https://slink.hauhau.cn
- Size: 2.05 MB
- Stars: 5
- Watchers: 1
- Forks: 0
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## Build & Contributing
### Backend
Before building, you need to have `GO >= 1.18`, [Buf CLI](https://docs.buf.build/installation). If you are developing on windows, use [scoop](https://github.com/ScoopInstaller/Scoop) to install `busybox` and `make`
#### Clone this repository
```bash
git clone https://github.com/hominsu/slink.git
```#### Initial Workspace
```bash
go work init && go work use -r ./app && go mod tidy
```#### Install dependencies
```bash
make init
```#### Generate other code
```bash
make api && make conf && make ent && make wire
```#### Compile
```bash
make build
```### Frontend
```bash
cd web
pnpm install
pnpm dev
```