Skip to content

Commit f216837

Browse files
authored
Merge pull request #39 from WaifuAPI/staging
📢 Migration from Private to Public
2 parents 7f12dc0 + c38e435 commit f216837

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

94 files changed

+1333
-1826
lines changed

.env_example

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@ MONGODB_URI=
66
PORT=
77
# Node Environment [ production or development ], use development to log errors.
88
NODE_ENV=
9-
# Creates Log files [ true/false ]
10-
LOGGER=
9+
# Creates Log
10+
DISCORD_WEBHOOK_URL=

.github/workflows/codeql-analysis.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939

4040
# Initializes the CodeQL tools for scanning.
4141
- name: Initialize CodeQL
42-
uses: github/codeql-action/init@v1
42+
uses: github/codeql-action/init@v2
4343
with:
4444
languages: ${{ matrix.language }}
4545
# If you wish to specify custom queries, you can do so here or in a config file.
@@ -50,7 +50,7 @@ jobs:
5050
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
5151
# If this step fails, then you should remove it and run the build manually (see below)
5252
- name: Autobuild
53-
uses: github/codeql-action/autobuild@v1
53+
uses: github/codeql-action/autobuild@v2
5454

5555
# ℹ️ Command-line programs to run using the OS shell.
5656
# 📚 https://git.io/JvXDl
@@ -64,4 +64,4 @@ jobs:
6464
# make release
6565

6666
- name: Perform CodeQL Analysis
67-
uses: github/codeql-action/analyze@v1
67+
uses: github/codeql-action/analyze@v2

CONTRIBUTING.md

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Contributing to Animu
1+
# Contributing to Waifu.it
22

33
We love your input! We want to make contributing to this project as easy as possible, whether it's:
44

@@ -29,7 +29,7 @@ Great Feature Requests tend to have:
2929

3030
## Development Process
3131

32-
Pull requests are the best way to propose changes. We actively welcome your pull requests and invite you to submit pull requests directly <a href="https://github.com/AnimuAPI/Animu/pulls">here</a>, and after review, these can be merged into the project.
32+
Pull requests are the best way to propose changes. We actively welcome your pull requests and invite you to submit pull requests directly <a href="https://github.com/WaifuAPI/Waifu.it/pulls">here</a>, and after review, these can be merged into the project.
3333

3434
## Pull Requests
3535

@@ -40,7 +40,7 @@ Pull requests are the best way to propose changes. We actively welcome your pull
4040
## Issues
4141

4242
Please ensure your description is
43-
clear and has sufficient instructions to be able to reproduce the issue. Report a bug by <a href="https://github.com/AnimuAPI/Animu/issues">opening a new issue</a>; it's that easy!
43+
clear and has sufficient instructions to be able to reproduce the issue. Report a bug by <a href="https://github.com/WaifuAPI/Waifu.it/issues">opening a new issue</a>; it's that easy!
4444

4545
## Running the API Locally
4646

@@ -79,15 +79,11 @@ The server will automatically restart when you make changes to the code.
7979
$ npm run dev
8080
```
8181

82-
**5. Creating a token**
83-
84-
In your database, create a collection called users and create a document with a `token` field in it. You can set it to any value, This will be the token you will use when making requests.
85-
8682
**And you're done!**
8783

8884
## License
8985

90-
By contributing to Animu, you agree that your contributions will be licensed
86+
By contributing to Waifu.it, you agree that your contributions will be licensed
9187
under the [LICENSE file](LICENSE.md).
9288

9389
[mongodb/atlas]: https://www.mongodb.com/cloud/atlas

DOCS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
## [Click here](https://github.com/AnimuAPI/Documentation) for API Documentaion.
1+
## [Click here](https://github.com/WaifuAPI/Documentation) for API Documentaion.

README.md

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,18 @@
11
## Announcements
2+
3+
###### 🕛 23 May, 2023
4+
### 📢 Migration from Private to Public
5+
This repository will continue being as open-source while strictly following the [LICENCE](LICENCE.md).
6+
27
###### 🕛 01 Feb, 2022
3-
### 📢 Migration from Public to Private
4-
This repository will no longer be updated with the latest versions of code. Our hosted version of this API, [__Animu__](https://animu.ml/) **does not run the code in this repository anymore**. The official API's source code has been made private. We will still maintain this repository over time with patches and so but it will depend on the circumstances. And we will only be providing limited, non-obligatory support to self-hosting users **who have not made changes to the code we deem to be significant**.
8+
### ~~📢 Migration from Public to Private~~
9+
~~This repository will no longer be updated with the latest versions of code. Our hosted version of this API, [__Waifu.it__](https://waifu.it/) **does not run the code in this repository anymore**. The official API's source code has been made private. We will still maintain this repository over time with patches and so but it will depend on the circumstances. And we will only be providing limited, non-obligatory support to self-hosting users **who have not made changes to the code we deem to be significant**.~~
510

611
---
712

813
<div align="center">
914

10-
<h1 align="center">Animu</h1>
15+
<h1 align="center">Waifu.it</h1>
1116
<br />
1217
<img align="center" width="256" height="256" src="https://avatars.githubusercontent.com/u/79479798?s=200&v=4" />
1318
<br />

nixpacks.toml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
[phases.setup]
2+
nixPkgs = ['nodejs']
3+
4+
[phases.install]
5+
cmd = "npm install --omit=dev"
6+
7+
[start]
8+
cmd = "npm start"
9+

0 commit comments

Comments
 (0)