Skip to content
This repository was archived by the owner on Dec 1, 2025. It is now read-only.

Commit 121d5cf

Browse files
authored
Merge pull request #8 from xeyossr/feat/openanime-support
2 parents c367c32 + b636ce9 commit 121d5cf

File tree

18 files changed

+1205
-181
lines changed

18 files changed

+1205
-181
lines changed
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: 🐛 Hata Bildirimi (Bug Report)
2+
description: Bir hata veya beklenmeyen davranışı raporlayın
3+
title: "[Bug] "
4+
labels: [bug]
5+
body:
6+
- type: input
7+
id: environment
8+
attributes:
9+
label: Ortam
10+
description: OS, Go versiyonu vb.
11+
placeholder: "e.g. Arch Linux (AUR), Go 1.24.5"
12+
validations:
13+
required: true
14+
- type: textarea
15+
id: what-happened
16+
attributes:
17+
label: Ne Oldu?
18+
description: Hatanın ne olduğunu ve ne olmasını beklediğinizi açıkça yazın.
19+
validations:
20+
required: true
21+
- type: textarea
22+
id: steps
23+
attributes:
24+
label: Yeniden Üretme Adımları
25+
description: Hatayı yeniden oluşturmak için izlenmesi gereken adımları sıralayın.
26+
placeholder: |
27+
1. anitr-cli'yi çalıştır
28+
2. [...] animesini arat ve çözünürlük olarak [...] seç
29+
3. Hatalı çıktıyı gör
30+
validations:
31+
required: true
32+
- type: textarea
33+
id: logs
34+
attributes:
35+
label: İlgili Çıktılar / Loglar
36+
description: Varsa hata mesajlarını, çıktı örneklerini veya ekran görüntülerini paylaşın.

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
blank_issues_enabled: true
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: 🌟 Özellik Talebi (Feature Request)
2+
description: anitr-cli için bir fikir, özellik veya iyileştirme önerin
3+
title: "[Feature] "
4+
labels: [enhancement]
5+
body:
6+
- type: textarea
7+
id: problem
8+
attributes:
9+
label: Problem
10+
description: Bu özellik isteği bir probleme mi dayanıyor? Nedir ve neden sorun oluşturuyor?
11+
placeholder: "Genellikle [...] yapmakta zorlanıyorum."
12+
- type: textarea
13+
id: solution
14+
attributes:
15+
label: Önerdiğiniz Çözüm
16+
description: Ne olmasını istiyorsunuz ve bu neden faydalı olur?
17+
placeholder: "anitr-cli'nin [...] desteklemesini istiyorum."
18+
validations:
19+
required: true
20+
- type: textarea
21+
id: alternatives
22+
attributes:
23+
label: Düşünülen Alternatifler
24+
description: Başka çözümleri veya geçici yolları düşündünüz mü?
25+
placeholder: "[...] hakkında da düşündüm."
26+
- type: textarea
27+
id: context
28+
attributes:
29+
label: Ek Bağlam
30+
description: İlgili diğer bilgiler veya varsa taslak/mockup ekleyin.

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
## 📝 Neler değişti?
2+
3+
Eklenen, değiştirilen, kaldırılan veya düzeltilen şeyleri açıkça belirtin.
4+
5+
## 📌 Sebep?
6+
7+
Bu değişikliklerin arkasındaki nedeni veya bağlamı açıklayın.

README.md

Lines changed: 11 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,17 @@
1-
<div>
2-
31
# ANITR-CLI
2+
3+
<div align="center">
4+
45
**anitr-cli:** Hızlı bir şekilde anime araması yapabileceğiniz ve istediğiniz animeyi Türkçe altyazılı izleyebileceğiniz terminal aracıdır 💫 Anime severler için hafif, pratik ve kullanışlı bir çözüm sunar 🚀
56

6-
<p>
7-
<a href="https://github.com/xeyossr/anitr-cli/releases">
8-
<img src="https://img.shields.io/github/v/release/xeyossr/anitr-cli?style=for-the-badge&include_prereleases&label=GitHub%20Release" alt="GitHub Release">
9-
</a>
10-
<a href="https://github.com/mstsecurity/anitr-cli-windows">
11-
<img src="https://img.shields.io/github/v/release/mstsecurity/anitr-cli-windows?include_prereleases&display_name=release&label=Windows%20Fork&style=for-the-badge" alt="Windows Fork">
12-
</a>
13-
<a href="https://aur.archlinux.org/packages/anitr-cli">
14-
<img src="https://img.shields.io/aur/version/anitr-cli?style=for-the-badge" alt="AUR">
15-
</a>
16-
</p>
7+
[![Github_Release](https://img.shields.io/github/v/release/xeyossr/anitr-cli?style=for-the-badge&include_prereleases&label=GitHub%20Release)](https://github.com/xeyossr/anitr-cli/releases)
8+
9+
[![Windows_Fork](https://img.shields.io/github/v/release/mstsecurity/anitr-cli-windows?include_prereleases&display_name=release&label=Windows%20Fork&style=for-the-badge)](https://github.com/mstsecurity/anitr-cli-windows)
10+
11+
[![AUR](https://img.shields.io/aur/version/anitr-cli?style=for-the-badge)](https://aur.archlinux.org/packages/anitr-cli)
12+
13+
---
14+
1715
</div>
1816

1917
## 💻 Kurulum

aur/.SRCINFO

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
pkgbase = anitr-cli
22
pkgdesc = Terminal üzerinden Türkçe anime izleme aracı
3-
pkgver = 4.0.2
3+
pkgver = 4.1.0
44
pkgrel = 1
55
url = https://github.com/xeyossr/anitr-cli
66
arch = x86_64
@@ -12,7 +12,7 @@ pkgbase = anitr-cli
1212
optdepends = rofi-wayland: for --rofi mode (recommended for Wayland users)
1313
provides = anitr-cli
1414
conflicts = anitr-cli
15-
source = git+https://github.com/xeyossr/anitr-cli.git#tag=v4.0.2
15+
source = git+https://github.com/xeyossr/anitr-cli.git#tag=v4.1.0
1616
sha256sums = SKIP
1717

1818
pkgname = anitr-cli

aur/PKGBUILD

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Maintainer: kamisaki
22
# Description: Terminal üzerinden Türkçe anime izleme aracı
33
pkgname=anitr-cli
4-
pkgver=4.0.2
4+
pkgver=4.1.0
55
pkgrel=1
66
pkgdesc="Terminal üzerinden Türkçe anime izleme aracı"
77
arch=('x86_64')

go.mod

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,18 @@ module github.com/xeyossr/anitr-cli
22

33
go 1.24.5
44

5-
require github.com/Masterminds/semver/v3 v3.4.0
6-
75
require (
6+
github.com/Masterminds/semver/v3 v3.4.0
87
github.com/hugolgst/rich-go v0.0.0-20240715122152-74618cc1ace2
98
github.com/manifoldco/promptui v0.9.0
9+
github.com/stretchr/testify v1.10.0
1010
)
1111

1212
require (
13-
github.com/chzyer/readline v0.0.0-20180603132655-2972be24d48e // indirect
14-
golang.org/x/sys v0.1.0 // indirect
15-
gopkg.in/natefinch/npipe.v2 v2.0.0-20160621034901-c1b8fa8bdcce // indirect
13+
github.com/chzyer/readline v0.0.0-20180603132655-2972be24d48e // indirect
14+
github.com/davecgh/go-spew v1.1.1 // indirect
15+
github.com/pmezard/go-difflib v1.0.0 // indirect
16+
golang.org/x/sys v0.1.0 // indirect
17+
gopkg.in/natefinch/npipe.v2 v2.0.0-20160621034901-c1b8fa8bdcce // indirect
18+
gopkg.in/yaml.v3 v3.0.1 // indirect
1619
)

go.sum

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ github.com/chzyer/readline v0.0.0-20180603132655-2972be24d48e h1:fY5BOSpyZCqRo5O
66
github.com/chzyer/readline v0.0.0-20180603132655-2972be24d48e/go.mod h1:nSuG5e5PlCu98SY8svDHJxuZscDgtXS6KTTbou5AhLI=
77
github.com/chzyer/test v0.0.0-20180213035817-a1ea475d72b1 h1:q763qf9huN11kDQavWsoZXJNW3xEE4JJyHa5Q25/sd8=
88
github.com/chzyer/test v0.0.0-20180213035817-a1ea475d72b1/go.mod h1:Q3SI9o4m/ZMnBNeIyt5eFwwo7qiLfzFZmjNmxjkiQlU=
9+
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
10+
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
911
github.com/hugolgst/rich-go v0.0.0-20240715122152-74618cc1ace2 h1:9qOViOQGFIP5ar+2NorfAIsfuADEKXtklySC0zNnYf4=
1012
github.com/hugolgst/rich-go v0.0.0-20240715122152-74618cc1ace2/go.mod h1:nGaW7CGfNZnhtiFxMpc4OZdqIexGXjUlBnlmpZmjEKA=
1113
github.com/manifoldco/promptui v0.9.0 h1:3V4HzJk1TtXW1MTZMP7mdlwbBpIinw3HztaIlYthEiA=
@@ -15,3 +17,5 @@ golang.org/x/sys v0.1.0 h1:kunALQeHf1/185U1i0GOB/fy1IPRDDpuoOOqRReG57U=
1517
golang.org/x/sys v0.1.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
1618
gopkg.in/natefinch/npipe.v2 v2.0.0-20160621034901-c1b8fa8bdcce h1:+JknDZhAj8YMt7GC73Ei8pv4MzjDUNPHgQWJdtMAaDU=
1719
gopkg.in/natefinch/npipe.v2 v2.0.0-20160621034901-c1b8fa8bdcce/go.mod h1:5AcXVHNjg+BDxry382+8OKon8SEWiKktQR07RKPsv1c=
20+
gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA=
21+
gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=

internal/ipc/unix_ipc.go

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
package ipc
2+
3+
import "net"
4+
5+
func ConnectToPipe(ipcSocketPath string) (net.Conn, error) {
6+
conn, err := net.Dial("unix", ipcSocketPath)
7+
if err != nil {
8+
return nil, err
9+
}
10+
return conn, nil
11+
}

0 commit comments

Comments
 (0)