/Valora

VLR (Valora) is a website that can help you check your VALORANT daily store/night market/accessory store without opening the game or downloading an APP | 瓦罗兰特商店查询,无需安装任何软件即可帮助你查询每日商店、夜市和配件商店的网页

Primary LanguageCSSGNU Affero General Public License v3.0AGPL-3.0

VLR | Valora: What it is in my VALORANT Store TODAY??

English | 简体中文

This is a website that helps you peek your shop and night market of VALORANT. It's a project that I make on my spare time.

There are a lot of application on the network that can help you do that and they even better than mine. If you are worried about my project, you can use theirs.

You need to read FAQ before you use: FAQ

Project Milestones (CHINESE)

DO NOT SHARE YOUR COOKIE, SESSION ID OR ANY CONTENT IN /auth-info PAGE TO OTHERS! THIS MAY CAUSE SECURITY PROBLEMS TO YOUR ACCOUNT

Quick Start

You can access https://val.bili33.top to start your shop peek. The production server will not storage your username & password

Preview

Click to show
Login Page Login Page

Daily Shop Daily Shop

Skin Level/Chroma Preview Skin Level/Chroma Preview

Accessory Store Accessory Store

Accessory Store Player Card Preview Accessory Store Player Card Preview

Inventory Inventory

Skin Library Skin Library (No login status needed)

Translation Table Translation Table (No login status needed)

Build your own

Something about configuration

Tip

You can use config.yml to change your configuration. You can also use export linux command to do this.

However, the priority of config is env(export) > file(config.yml)

Run on Docker

https://hub.docker.com/r/gamernotitle/vsc

Run on Zeabur

Deploy on Zeabur

Run on Railway

Deploy on Railway

Run on VPS/PaaS

First you need a server/Paas platform which can run python and flask. Fork this repo to your account.

You need to install some requirements on your server, use the following command.

On some servers, you may need to use pip3 instead of using pip. Meanwhile, you also need to use python3 to instead of using python or py

$ pip install -r requirements.txt

After installation, you can change the listening address & port. We use 0.0.0.0:8080 as default.

Every time you start the server, the session key will be generated. That means all the logged in users will need to re-login. If this is not you wish, you can use Redis as your session storage.

You need to configurate the following items:

$ export SESSION_TYPE=filesystem|redis  # If you want to use redis u need to set it as redis, and configure the following items
$ export REDIS_URL=<Your Redis URL>
# If your redis url cannot be parsed
$ export REDIS_HOST=<Your Redis Host>
$ export REDIS_PORT=<Your Redis Port>
$ export REDIS_USERNAME=<Your Redis Username if you have it>
$ export REDIS_PASSWORD=<Your Redis Password>
# Optional
$ export REDIS_SSL=True # If your redis does not support this, please DO NOT configure it, or this will make your application timeout.

After doing all things above, you can turn your server on. Using the following command to do that.

$ python app.py

Now, you can access http://127.0.0.1:8080 (If you haven't changed it), and you will see your website.

More Features

Dashboard

For docker users, this feature will only monitor this alive container. Once u restart the container, this will reset. Since the data is saved in sqlite instead of Redis.

VSC uses flask-profiler to help developers to monitor its work. In order to enable it, u need to set the following variables

$ export PROFILER=1 # Just dont leave it empty
$ export PROFILER_AUTH=True # Basic auth of the dashboard | U can turn it off by leaving it empty
$ export PROFILER_USER=admin    # Set it as your creds
$ export PROFILER_PASS=password

After u set them, u can access your dashboard from /profiler

Announcement System

If you want to use announcement, you need to deploy Valora-Announcement first, and set a variable named ANNOUNCEMENT with your announcement system url

$ export ANNOUNCEMENT=<Your announcement system url>

After setting this, you can access to your Valora. Then you will find that the announcement is at the bottom of the page.

Args

Path Args Options Mark Example
(global) lang en/zh-CN/zh-TW/ja-JP Change the language of the website https://val.bili33.top/?lang=en
/library query (Any) Search for the skins https://val.bili33.top/library?query=Magepunk%20Sparkswitch
/api/reauth redirect /market /market/night /inventory Redirect to correct page after reauthorizing https://val.bili33.top/api/reauth?redirect=/market

Credit

Prodzify/Riot-auth (github.com)

Valorant-API

Soft-ui-design-system

Referrance

There's no any good doc on the network (at least i didn't find that). Here's my doc. (I find one and edit based on the doc https://ultronxr2ws.notion.site/UAIOSC-valorant-GitHub-Valorant-API-0ac20cd4c5b744148a74c6cd0f3380dc)

Referrance Doc (CHINESE)

Developing Log (CHINESE)

Sponsor

https://bili33.top/sponsors/