Skip to content
/ swosh Public

Simple service that creates "Swosh" short links you can share with friends

License

Notifications You must be signed in to change notification settings

Edholm/swosh

Repository files navigation

Swosh.me

Used for creating short links that you can send to your friends, thus allowing them to easily launch Swish with your preset information.

This is useful since https:// links are almost universally clickable.

Requirements

  • Gradle
  • Java 15
  • Kotlin
  • spring-boot

API

  • POST /api/create Accepts application/json and the body is as follows:
	{
		"phone": "07xxxxxx",
		"amount": 100,
		"message": "example message",
		"expireAfterSeconds": null, // (optional, 0 or null is never expire)
	}

Deploy

You can "deploy" Swosh using docker-compose. See deploy.sh for an example of how it can be done.

License

See the LICENSE file for license rights and limitations (MIT).