Skip to content
forked from XLNT/at-p

🅿️ A microservice version of Urbit's urbit-ob encoding.

License

Notifications You must be signed in to change notification settings

atnickallen/at-p

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🅿️ at-p

This is a super simple typescript microservice that exposes urbit's at-p encoding as a REST API.

I did this because I don't feel like re-writing it in other languages and microservices are cool.

Deploy

It's a normal nodejs microserver and/or dockerfile, so run something like (making sure to change your username in the package.json)

yarn run build
yarn run docker-build
docker run -p 3000:3000 shrugs/at-p:latest

Usage

POST /to/{galaxy,star,planet}

Input:

{
  "ids": [1, 2, 3]
}

Output:

{
  "ids": [
    "dozzod-doznec",
    "dozzod-dozbud",
    "dozzod-dozwes"
  ]
}

POST /isAddress

Input:

{
  "id": "dozzod-doznec"
}

Output:

{
  "res": true
}

About

🅿️ A microservice version of Urbit's urbit-ob encoding.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • TypeScript 100.0%