Source codes for https://stat.ink/
By linking with compatible software such as SquidTracks, splatnet2statink, IkaLog, s3s, or your own software, you can save and collect statistics for Splatoon 1, 2, and 3.
This software will save your Splatoon 1, 2, 3 battle results and get statistics by integrating with "supported software" such as SquidTracks, splatnet2statink, IkaLog, s3s, etc., or your own app.
Bug reports are fine in Japanese. The developer is Japanese, and can only use Japanese properly.
I'll accept your bug report in English or Japanese.
The administrator is not goot at English. Please use easy English and do not use idioms or slangs.
If the issue is security-related, use a private method.
Use a private channel if it is a security issue.
php-sodium . You should build/install with Argon2. Install php-sodium if you use remirepo's PHPconvert )npm )jpegoptimhttps://stat.ink/ works with:
remi-modular repository, with dnf enable php:remi-8.3composerphp-cliphp-fpmphp-gdphp-intlphp-mbstringphp-pdophp-pecl-msgpackphp-pgsqlphp-sodiumdnf enable nodejs:20nodejsnpmpostgresql11postgresql11-serverstat.ink uses the GeoIP database to detect user time zones, etc. To download the database, you must register as a MaxMind member. (free)
Stat.ink uses the GeoIP database for purposes such as detecting the user's time zone. You need to register an account on MaxMind to download the database (No additional cost required).
Register as a MaxMind member (or log in)
Sign up for MaxMind account (or just log in)
Go to the My License Key page and click Generate new license key.
Access to "My License Key" page and click "Generate new license key."
Fill in "License key description" and issue the license key.
Fill in "License key description" and issue a license key.
Record your license key. Please note that this is not displayed at the end.
Note the license key. The license key won't be displayed again.
Once you have issued the license key, set the environment variable GEOIP_LICENSE_KEY .
If you are using bash, there are ways to add it to ~/.bashrc .
After issuing the license key, set the license key to the environment variable " GEOIP_LICENSE_KEY ".
If you are using bash, you may want to add the following to your ~/.bashrc :
export GEOIP_LICENSE_KEY=ABCDEFGHIJKLMNOP Once you have edited .bashrc , restart the shell or source ~/.bashrc .
After editing .bashrc , reopen the shell or remember source ~/.bashrc .
There are two main branches. master and dev .
We have 2 main branches. The one is master and the other is dev .
master branch This branch is deployed to the server. Changes are captured irregularly from dev branch.
This branch is deployed to the server. Changes are merged from the dev branch at irregular intervals.
If you wish to contribute, please do not make a pull request to this branch.
When you contribute to us, you should not request changes to this branch.
master is just an identifier. There is no political or discriminatory intention.
The word master is just an identifier. There are no political or discriminatory intentions.
dev branchThe app will be developed in this branch.
The development of the app takes place on this branch.
If you want to create a pull request, go to / from this branch.
If you think you're going to make a pull request, make the change from this branch.
We are switching from CentOS 7 to RockyLinux 9 and cannot set up the system in the way shown here.
Recommend: Setup with Vagrant
Another way: How to setup a development environment
Note: Docker way is abandoned.
git fetch --all &&
git merge --ff-only origin/master &&
./composer.phar install --prefer-dist &&
make &&
./yii asset/up-revisionSee the following page for the APIs to post or retrieve data to stat.ink. See the pages below for APIs to post and retrieve data from stat.ink.
| Language | Coding Standards |
|---|---|
| PHP | PSR-12-based, See phpcs.xml |
| PHP (views) | Indent with 2 spaces |
| JavaScript | semistandard |
| SCSS / CSS | Sass Guidelines-based, See .stylelintrc |
The MIT License (MIT)
Copyright (c) 2015-2024 AIZAWA Hina <[email protected]>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
The Yii framework is free software. It is released under the terms of
the following BSD License.
Copyright © 2008 by Yii Software LLC (http://www.yiisoft.com)
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in
the documentation and/or other materials provided with the
distribution.
* Neither the name of Yii Software LLC nor the names of its
contributors may be used to endorse or promote products derived
from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.
Documentation licenses are licensed under Creative Commons - Attribution 4.0 International.
Documents of stat.ink project are licensed under a Creative Commons Attribution 4.0 International License.