Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Jeusto/1pt.one

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

1pt.one - A minimalistic URL shortener

A minimalistic URL shortener. Create a short URL in seconds and track the number of visits with the website or the api. You can use the service with the website 1pt.one or the CLI tool.

demo

API

/shorten

Method: GET

Parameter Description Example
long Required - The long URL to shorten https://github.com
short Optional - The short version of the url gth

Example Response

1pt.one/shorten?short=gth&long=https://github.com

{
  "message": "Successfully added short url!",
  "short_url": "gth",
  "long_url": "https://github.com",
  "file_content": ""
}

/retrieve

Method: GET

Parameter Description Example
short Required - The short version of the url gth

Example Response

{
  "short_url": "gth",
  "long_url": "https://github.com",
  "created_at": "18/09/2021 20:26:17",
  "number_of_visits": 2,
  "file_content": ""
}

/status

Method: GET

Example Response

{
  "status": 200,
  "message": "Api is live. Read the documentation at https://github.com/Jeusto/1pt.one"
}

About

🔗 A minimalistic website and API to shorten URLs and keep track of the number of visits

Resources

Stars

Watchers

Forks

Contributors

Morty Proxy This is a proxified and sanitized view of the page, visit original site.