SkillAgentSearch skills...

Simpleapiproxy

An API proxy written in Go to allow consuming apis via javascript without exposing the api keys

Install / Use

/learn @semanticart/Simpleapiproxy
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

simpleapiproxy

A small proxy to allow consuming apis via javascript without exposing the api keys.

As an example, I'm using this with last.fm for a testbed.

example config:

URL_ROOT=http://ws.audioscrobbler.com/2.0/ URL_SUFFIX=api_key=XXXXXXXXXXXXX PORT=80

This would serve http://ws.audioscrobbler.com/2.0/?method=user.getrecenttracks&user=violencenow&format=json&api_key=XXXXXXXXXXXXX when you request http://example.com/?method=user.getrecenttracks&user=violencenow&format=json

deploying

Just folow the instructions for adding the heroku buildpack and you should be good to go: https://github.com/kr/heroku-buildpack-go

Procfile included.

View on GitHub
GitHub Stars25
CategoryDevelopment
Updated6mo ago
Forks5

Languages

Go

Security Score

72/100

Audited on Oct 3, 2025

No findings