Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

RandomCoderOrg/install-counter

Open more actions menu

Repository files navigation

install counter

A simple firebase + svelte project to count udroid installations.

Working

  • Svelte is used to create simple server side functions to increment the counter and return the current count.
  • vercel is used to deploy the serverless functions ( ❤️ vercel )
  • Firebase to store the count and serve

Endpoints

Endpoint Description
/count to increment the count and return the current count
/cur_count to return the current count

No extra parameters are required for the endpoints

Usage

check out .env.example to create a .env file

curl https://endpoints-url/count

returns a json response

{"downloads":908}

Please don't spam the endpoints 🙏

License

MIT

Morty Proxy This is a proxified and sanitized view of the page, visit original site.