Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hosted API #18

Closed
chrisvxd opened this issue Nov 29, 2019 · 3 comments
Closed

Hosted API #18

chrisvxd opened this issue Nov 29, 2019 · 3 comments

Comments

@chrisvxd
Copy link

Hey @khrome 馃憢 Thanks for creating such a cool ascii art library.

I'm looking to convert open source libs into SaaS APIs as part of my work with saasify.sh and thought ascii-art would be a great fit.

Ideally I'd create an API endpoint to generate ascii art along the lines of

https://api.saasify.sh/1/call/dev/ascii-art@latest/art

where a JSON payload would build your chain of operations (lifted from one of your examples)

{
  "ops": [
    {
      "type": "image",
      "width": 40,
      "url": "https://example.com/Images/initech.png",
      "alphabet": "wide"
    },
    {
      "type": "font",
      "text": "Doom",
      "color": "cyan"
    }
  ]
}

We'd love to offer a rate-limited API and reserve most of the profits for you. As an example, we've also worked on converting sindresorhus' imagemin and minimaxir's stylecloud to APIs.

Looking forward to hearing your thoughts! Would also be happy to jump on a quick call to discuss.

@khrome
Copy link
Owner

khrome commented Nov 30, 2019

First off, thanks for the appreciation.

Very interesting, indeed I think there's a lightweight usage, for which a web service is perfect. There's also a potential to add options to strip or convert ansi for the web that might be perfect here.
Happy to discuss on a call.

@chrisvxd
Copy link
Author

Thanks for getting back to me 馃挭

Would definitely be good to call early next week. Would you be happy to jump on our open slack? We can arrange a call from there.

@khrome
Copy link
Owner

khrome commented Feb 1, 2021

Closing.

@khrome khrome closed this as completed Feb 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants