Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

📢 Migration from Private to Public #39

Merged
merged 1 commit into from
May 23, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .env_example
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ MONGODB_URI=
PORT=
# Node Environment [ production or development ], use development to log errors.
NODE_ENV=
# Creates Log files [ true/false ]
LOGGER=
# Creates Log
DISCORD_WEBHOOK_URL=
6 changes: 3 additions & 3 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:

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

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

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1
uses: github/codeql-action/analyze@v2
12 changes: 4 additions & 8 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Contributing to Animu
# Contributing to Waifu.it

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

Expand Down Expand Up @@ -29,7 +29,7 @@ Great Feature Requests tend to have:

## Development Process

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.
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.

## Pull Requests

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

Please ensure your description is
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!
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!

## Running the API Locally

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

**5. Creating a token**

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.

**And you're done!**

## License

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

[mongodb/atlas]: https://www.mongodb.com/cloud/atlas
2 changes: 1 addition & 1 deletion DOCS.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
## [Click here](https://github.com/AnimuAPI/Documentation) for API Documentaion.
## [Click here](https://github.com/WaifuAPI/Documentation) for API Documentaion.
11 changes: 8 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,18 @@
## Announcements

###### 🕛 23 May, 2023
### 📢 Migration from Private to Public
This repository will continue being as open-source while strictly following the [LICENCE](LICENCE.md).

###### 🕛 01 Feb, 2022
### 📢 Migration from Public to Private
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**.
### ~~📢 Migration from Public to Private~~
~~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**.~~

---

<div align="center">

<h1 align="center">Animu</h1>
<h1 align="center">Waifu.it</h1>
<br />
<img align="center" width="256" height="256" src="https://avatars.githubusercontent.com/u/79479798?s=200&v=4" />
<br />
Expand Down
9 changes: 9 additions & 0 deletions nixpacks.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
[phases.setup]
nixPkgs = ['nodejs']

[phases.install]
cmd = "npm install --omit=dev"

[start]
cmd = "npm start"

Loading