Moved GitHub to Gitea

This commit is contained in:
Eduard Urbach 2024-03-12 11:34:38 +01:00
parent 13a58dabbb
commit b4dd48ec85
Signed by: akyoto
GPG Key ID: C874F672B1AF20C0
11 changed files with 16 additions and 94 deletions

View File

@ -1,10 +1,6 @@
# notify.moe
[![Godoc][godoc-image]][godoc-url]
[![Report][report-image]][report-url]
[![Tests][tests-image]][tests-url]
[![Coverage][coverage-image]][coverage-url]
[![Sponsor][sponsor-image]][sponsor-url]
Anime tracker, database and community.
## Prerequisites
@ -15,7 +11,7 @@
## Installation
```shell
git clone https://github.com/animenotifier/notify.moe.git
git clone https://git.akyoto.dev/web/notify.moe.git
cd notify.moe
go mod download
make tools
@ -42,13 +38,6 @@ make db
* Make some changes and upload them to a new branch on your fork.
* Create a pull request on this repository.
## Find us
* [Discord](https://discord.gg/0kimAmMCeXGXuzNF)
* [Facebook](https://www.facebook.com/animenotifier)
* [Twitter](https://twitter.com/animenotifier)
* [GitHub](https://github.com/animenotifier/notify.moe)
## Contributing
Please read [CONTRIBUTING.md](docs/contributing.md) for details on how to contribute to this project.
@ -64,14 +53,6 @@ Please read [CONTRIBUTING.md](docs/contributing.md) for details on how to contri
Please take a look at the [style guidelines](https://github.com/akyoto/quality/blob/master/STYLE.md) if you'd like to make a pull request.
## Sponsors
| [![Cedric Fung](https://avatars3.githubusercontent.com/u/2269238?s=70&v=4)](https://github.com/cedricfung) | [![Scott Rayapoullé](https://avatars3.githubusercontent.com/u/11772084?s=70&v=4)](https://github.com/soulcramer) | [![Eduard Urbach](https://avatars3.githubusercontent.com/u/438936?s=70&v=4)](https://eduardurbach.com) |
| --- | --- | --- |
| [Cedric Fung](https://github.com/cedricfung) | [Scott Rayapoullé](https://github.com/soulcramer) | [Eduard Urbach](https://eduardurbach.com) |
Want to see [your own name here?](https://github.com/users/akyoto/sponsorship)
[godoc-image]: https://godoc.org/github.com/animenotifier/notify.moe?status.svg
[godoc-url]: https://godoc.org/github.com/animenotifier/notify.moe
[report-image]: https://goreportcard.com/badge/github.com/animenotifier/notify.moe
@ -81,4 +62,4 @@ Want to see [your own name here?](https://github.com/users/akyoto/sponsorship)
[coverage-image]: https://codecov.io/gh/animenotifier/notify.moe/graph/badge.svg
[coverage-url]: https://codecov.io/gh/animenotifier/notify.moe
[sponsor-image]: https://img.shields.io/badge/github-donate-green.svg
[sponsor-url]: https://github.com/users/akyoto/sponsorship
[sponsor-url]: https://ko-fi.com/akyoto

View File

@ -1,59 +0,0 @@
# {name}
{go:header}
## Prerequisites
* Install [Linux](https://en.wikipedia.org/wiki/Linux), [MacOS](https://en.wikipedia.org/wiki/MacOS) or [WSL](https://en.wikipedia.org/wiki/Windows_Subsystem_for_Linux)
* Install [Go](https://golang.org/)
* Install [TypeScript](https://www.typescriptlang.org/)
## Installation
```shell
git clone https://github.com/animenotifier/notify.moe.git
cd notify.moe
go mod download
make tools
make assets
make server
make db
./notify.moe
```
## Networking
* Add `beta.notify.moe 127.0.0.1` to your `hosts` file
* Run `make ports`
## In your browser
* Open the settings, search for certificates
* Import the file `security/default/root.crt` as a trusted Root authority
* Open `https://beta.notify.moe`
## What now?
* Try the [example task for newcomers](docs/new-contributor-task.md).
* Make some changes and upload them to a new branch on your fork.
* Create a pull request on this repository.
## Find us
* [Discord](https://discord.gg/0kimAmMCeXGXuzNF)
* [Facebook](https://www.facebook.com/animenotifier)
* [Twitter](https://twitter.com/animenotifier)
* [GitHub](https://github.com/animenotifier/notify.moe)
## Contributing
Please read [CONTRIBUTING.md](docs/contributing.md) for details on how to contribute to this project.
## Statistics
![Uptime (30 days)](https://img.shields.io/uptimerobot/ratio/m777678498-177cb6b2990056768877bc2a.svg)
![Mozilla Observatory](https://img.shields.io/mozilla-observatory/grade/notify.moe.svg?publish)
![Chrome Extension](https://img.shields.io/chrome-web-store/users/hajchfikckiofgilinkpifobdbiajfch.svg?label=chrome%20users)
![Firefox Extension](https://img.shields.io/amo/users/anime-notifier.svg?label=firefox%20users)
{go:footer}

View File

@ -21,7 +21,7 @@ func (typ *Type) Endpoint() string {
// GitHubLink returns link to display the type in GitHub.
func (typ *Type) GitHubLink() string {
return fmt.Sprintf("https://github.com/animenotifier/notify.moe/blob/go/arn/%s.go#L%d", typ.Name, typ.LineNumber)
return fmt.Sprintf("https://git.akyoto.dev/web/notify.moe/blob/go/arn/%s.go#L%d", typ.Name, typ.LineNumber)
}
// GetTypeDocumentation tries to gather documentation about the given type.

View File

@ -10,7 +10,7 @@
"https://www.facebook.com/animenotifier",
"https://twitter.com/animenotifier",
"https://discord.gg/0kimAmMCeXGXuzNF",
"https://github.com/animenotifier/notify.moe"
"https://git.akyoto.dev/web/notify.moe"
],
"founder":{
"@type":"Person",

View File

@ -11,7 +11,7 @@ func Source(s *discordgo.Session, msg *discordgo.MessageCreate) bool {
return false
}
_, err := s.ChannelMessageSend(msg.ChannelID, msg.Author.Mention()+" B-baaaaaaaka! Y..you...you want to...TOUCH MY CODE?!\n\nhttps://github.com/animenotifier/notify.moe/tree/go/bots/discord")
_, err := s.ChannelMessageSend(msg.ChannelID, msg.Author.Mention()+" B-baaaaaaaka! Y..you...you want to...TOUCH MY CODE?!\n\nhttps://git.akyoto.dev/web/notify.moe/tree/go/bots/discord")
if err != nil {
color.Red(err.Error())

View File

@ -39,7 +39,7 @@ In the past it was, but not anymore. We're growing bigger by establishing a data
* [Facebook](https://www.facebook.com/animenotifier)
* [Twitter](https://twitter.com/animenotifier)
* [Google+](https://plus.google.com/+AnimeReleaseNotifierOfficial)
* [GitHub](https://github.com/animenotifier/notify.moe)
* [Git](https://git.akyoto.dev/web/notify.moe)
* [Discord](https://discord.gg/0kimAmMCeXGXuzNF)
## Where can I read the Terms of Service?

View File

@ -6,7 +6,7 @@ You do not need to be a developer to contribute. There are multiple ways to help
- [Database Editing](https://notify.moe/users/editors)
- [Donations](https://github.com/users/akyoto/sponsorship)
- [Pull Requests](https://github.com/animenotifier/notify.moe/pulls)
- [Pull Requests](https://git.akyoto.dev/web/notify.moe/pulls)
## How do I make a proper pull request?

View File

@ -1,6 +1,6 @@
# Task for new contributors
This task assumes that you have [installed](https://github.com/animenotifier/notify.moe#installation) notify.moe already, started the server with the `run` tool and have the code open in Visual Studio Code. It will teach you the basics by creating an entirely empty page within notify.moe.
This task assumes that you have [installed](https://git.akyoto.dev/web/notify.moe#installation) notify.moe already, started the server with the `run` tool and have the code open in Visual Studio Code. It will teach you the basics by creating an entirely empty page within notify.moe.
# Step 1: Create a new page

View File

@ -15,9 +15,9 @@ component SocialMediaLinks
Icon("patreon")
span Patreon
a.footer-element(href="https://github.com/animenotifier/notify.moe", target="_blank", rel="noopener")
a.footer-element(href="https://git.akyoto.dev/web/notify.moe", target="_blank", rel="noopener")
Icon("github")
span GitHub
span Git
component SocialMediaButtons
a.social-media-button.circle-1(href="https://discord.gg/0kimAmMCeXGXuzNF", title="Discord", target="_blank", rel="noopener")
@ -32,5 +32,5 @@ component SocialMediaButtons
a.social-media-button.circle-4(href="https://patreon.com/eduardurbach", title="Patreon", target="_blank", rel="noopener")
RawIcon("patreon")
a.social-media-button.circle-5(href="https://github.com/animenotifier/notify.moe", title="GitHub", target="_blank", rel="noopener")
a.social-media-button.circle-5(href="https://git.akyoto.dev/web/notify.moe", title="GitHub", target="_blank", rel="noopener")
RawIcon("github")

View File

@ -47,10 +47,10 @@ component SettingsExtras(user *arn.User)
span API
.widget-section
label GitHub:
a.button(href="https://github.com/animenotifier/notify.moe")
label Git:
a.button(href="https://git.akyoto.dev/web/notify.moe")
Icon("github")
span GitHub
span Git
//- PRO
.widget.mountable(data-api="/api/settings/" + user.ID)

View File

@ -41,7 +41,7 @@ component UserLists(groups []*utils.UserList, url string)
component StaffRecruitment
footer.footer.mountable
p
a(href="https://github.com/animenotifier/notify.moe#installation", target="_blank", rel="noopener") Interested in contributing code?
a(href="https://git.akyoto.dev/web/notify.moe#installation", target="_blank", rel="noopener") Interested in contributing code?
br
a(href="https://discord.gg/0kimAmMCeXGXuzNF", target="_blank", rel="noopener") Interested in editing data?