Skip to content
Backend API server for VectorLogoZone
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
bin
data
partials
src
static
views
.dockerignore
.editorconfig
.gitignore
Dockerfile
LICENSE.txt
README.md
TODO.md
deploy.sh
nodemon.json
now.json
package-lock.json
package.json
run.sh
tsconfig.json

README.md

VectorLogoZone API VectorLogoZone Logo

These are the backend APIs used by the main VectorLogoZone website.

Using

Unfortunately, rate-limits mean that I cannot run it as an open service. However, it is fairly easy to run your own instance.

Running

It is a TypeScript node.js app, so (once you have set the settings):

npm install
npm run build
npm run start

See the run.sh for how I run it in development.

Settings

All settings are stored in environment variables. The deploy and run scripts get them from a .env file.

name description
TWITTER_BEARER_TOKEN token for the Twitter API. Check twitter_get_token.sh to see how I got mine.
USERNAME (not currently used) the username to enter in the basic-auth dialog (default=admin)
PASSWORD (not currently used) the password to enter in the basic-auth dialog (default=password)

Endpoints

  • /api/twitter.json - takes id parameter
  • /api/github.json - takes id parameter

Contributing

Contributions are welcome! Please follow the standard Github Fork & Pull Request Workflow

See the to do list for a list of things that are planned.

License

GNU Affero General Public License v3.0

Credits

Website:

Cloudflare Git Github Google Analytics Handlebars Koa Node.js npm pino Shoelace CSS TypeScript Zeit

API Data Sources:

Github Twitter SVG Logo Search

To do:

SuperTinyIcons SVGPorn InstantLogoSearch

You can’t perform that action at this time.