|
|
8 년 전 | |
|---|---|---|
| client | 8 년 전 | |
| server | 8 년 전 | |
| static | 8 년 전 | |
| .babelrc | 8 년 전 | |
| .env | 8 년 전 | |
| .eslintignore | 8 년 전 | |
| .eslintrc | 8 년 전 | |
| .gitignore | 8 년 전 | |
| .travis.yml | 8 년 전 | |
| LICENSE | 8 년 전 | |
| README.md | 8 년 전 | |
| package-lock.json | 8 년 전 | |
| package.json | 8 년 전 |
Kutt is a modern URL shortener which lets you set custom domains for your shortened URLs, manage your links and view the click rate statistics.
Contributions and bug reports are welcome.
You need to have Node.js and Neo4j installed on your system.
config.example.js to config.js in both server and client folders and fill them properly.npm install.npm run dev.npm run build then npm start.In additional to website, you can use these APIs to create, delete and get URLs.
In order to use these APIs you need to generate an API key from settings. Don not ever put this key in the client side of your app or anywhere that is exposed to others.
Include API key as apikey in the body of all below requests. Available API URLs with body parameters:
Get shortened URLs list:
POST /api/url/geturls
Submit a links to be shortened:
POST /api/url/submit
Body:
target: Original long URL to be shortened.Delete a shortened URL and Get stats for a shortened URL:
POST /api/url/deleteurl
POST /api/url/stats
Body
id: ID of the shortened URL.domain (optional): Required if a custom domain is used for short URL.Pull requests are welcome. You'll probably find lots of improvements to be made.
Open issues for feadback, needed features, reporting bugs or discussing ideas.