Skip to content
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
79 changes: 79 additions & 0 deletions CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
# Katkıcı Ahdi Topluluk Sözleşmesi

## Taahhüdümüz

Herkes için açık ve erişilebilir bir ortam sağlamak amacıyla üyeler, katkıda bulunanlar ve liderler olarak biz katkı vermeyi yaş, beden ölçüsü, görünür veya görünmez sakatlık, etnik köken, cinsiyet özellikleri, cinsiyet kimlik ve ifadesi, tecrübe seviyesi, eğitim, sosyo-ekonomik durum, milliyet, kişisel görünüm, ırk, din veya cinsel kimlik ve yönelim ayrımı gözetmeden keyifli ve güvenli bir tecrübe haline getirmeyi taahhüt ediyoruz.

Açık, misafirperver, çeşitliliği destekleyen, kapsayıcı ve sağlıklı bir topluluk oluşturacak şekilde hareket etmeyi ve etkileşim kurmayı taahhüt ediyoruz.

## Standartlarımız

Bizim için olumlu bir topluluk ortamına katkıda bulunan davranış örnekleri şunları içerir:

- Diğer insanlara karşı empati ve nezaket göstermek
- Farklı görüşlere, bakış açılarına ve deneyimlere saygılı olmak
- Yapıcı geri bildirim verme ve geri bildirimi zarifçe kabul etme
- Sorumluluğu kabul etmek ve hatalarımızdan etkilenenlerden özür dilemek, ve bu deneyimlerden öğrenme
- Sadece kendimiz için değil, topluluk için en iyi olana odaklanmak

Kabul edilemez davranış örnekleri şunları içerir:

- Cinselleştirilmiş dil veya imgelerin ve cinsel ilgi veya her türlü cinsel avantajın kullanımı
- Trolleme, hakaret veya aşağılayıcı yorumlar ve kişisel veya politik saldırılar
- Açıktan veya gizli taciz
- Açık izinleri olmadan fiziksel adresleri veya e-posta gibi başkalarının özel bilgilerini yayınlama
- Profesyonel bir ortamda makul sayılmayabilecek diğer davranışlar

## Uygulama Sorumlulukları

Topluluk liderleri, kabul edilebilir davranış standartlarımızı açıklamaktan ve uygulamaktan sorumludur ve uygunsuz, tehdit edici, saldırgan veya zararlı gördükleri davranışlara karşılık olarak uygun ve adil düzeltici önlemler alacaktır.

Topluluk liderleri, bu Davranış Kurallarına uymayan yorumları, commit'leri, kodları, wiki düzenlemelerini, sorun kayıtlarını ve diğer katkıları kaldırma, düzenleme veya reddetme hakkına ve sorumluluğuna sahiptir ve gerektiğinde denetleme kararlarının nedenlerini bildirir.

## Kapsam

Bu Davranış Kuralları tüm topluluk alanlarında geçerlidir ve ayrıca bir kişinin topluluğu kamuya açık alanlarda resmi olarak temsil ettiğinde de geçerlidir. Topluluğumuzu temsil etmenin örnekleri arasında resmi bir e-posta adresi kullanmak, resmi bir sosyal medya hesabı aracılığıyla yayınlamak veya çevrimiçi veya çevrimdışı bir etkinlikte atanmış bir temsilci olarak hareket etmek yer alır.

## Uygulama

Zorbalık, taciz edici veya başka bir şekilde kabul edilemez davranış örnekleri info@4byte.dev ile uygulamadan sorumlu topluluk liderlerine bildirilebilir. Tüm şikayetler derhal ve adil bir şekilde incelenecek ve araştırılacaktır.

Tüm topluluk liderleri, herhangi bir olayın şikayetçisinin gizliliğine ve güvenliğine saygı göstermekle yükümlüdür.

## Uygulama Yönergeleri

Topluluk liderleri, bu Davranış Kurallarını ihlal ettiklerini düşündükleri herhangi bir eylemin sonuçlarını belirlerken bu Topluluk Etki Kurallarını izleyeceklerdir:

### 1. Düzeltme

**Topluluk Etkisi**: Toplulukta profesyonel olmayan veya hoş karşılanmadığı kabul edilen uygunsuz dil veya diğer davranışların kullanılması.

**Sonuç**: Topluluk liderlerinden kişiye ihlalin niteliği ve davranışın neden uygunsuz olduğuna dair açıklama sağlayan özel, yazılı bir uyarı gönderilir. Kişiden kamuya açık bir özür talep edilebilir.

### 2. Uyarı

**Topluluk Etkisi**: Tek bir veya bir dizi olayda ihlal.

**Sonuç**: Davranış sürekliliği için sonuçları belirten bir uyarı. Belirli bir süre için Davranış Kurallarını uygulayanlarla istenmeyen etkileşim dahil, olaya dahil olan kişilerle etkileşim yasağı getirilir. Bu, sosyal medya gibi dış kanalların yanı sıra topluluk alanlarında etkileşimden uzaklaştırılmayı içerir. Bu şartları ihlal etmek geçici veya kalıcı bir yasaklamaya yol açabilir.

### 3. Geçici Yasak

**Topluluk Etkisi**: Sürekli uygunsuz davranış da dahil olmak üzere, topluluk standartlarının ciddi bir ihlali.

**Sonuç**: Belirli bir süre boyunca toplulukla her türlü etkileşimden veya halkla iletişimden geçici olarak yasaklanma. Davranış Kurallarını uygulayanlarla istenmeyen etkileşim dahil, ilgili kişilerle hiçbir kamusal veya özel etkileşime izin verilmez. Bu şartları ihlal etmek kalıcı bir yasağa yol açabilir.

### 4. Kalıcı Yasak

**Topluluk Etkisi**: Sürekli uygunsuz davranışlar, bir bireyin taciz edilmesi veya bireylerin sınıflarına karşı saldırganlık veya aşağılama dahil olmak üzere, topluluk standartlarının ihlalinde devamlılık göstermek.

**Sonuç**: Topluluk içindeki her türlü açık etkileşimden kalıcı bir yasak.

## Kaynak

Bu Davranış Kuralları [Katılımcı Sözleşmesinden] uyarlanmıştır, sürüm 2.0'a şu adresten ulaşılabilir: https://www.contributor-covenant.org/version/2/0/code_of_conduct.html.

Topluluk Etki Yönergeleri [Mozilla'nın davranış kuralları icra merdiveninden](https://github.com/mozilla/diversity) ilham alındı.

Bu davranış kuralları hakkında sık sorulan soruların yanıtları için https://www.contributor-covenant.org/faq adresindeki SSS bölümüne bakın. Çevirilere https://www.contributor-covenant.org/translations adresinden ulaşabilirsiniz.

[Katılımcı Sözleşmesinden]: https://www.contributor-covenant.org
85 changes: 85 additions & 0 deletions CODE_OF_CONDUCT_EN.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@
# Contributor Covenant 3.0 Code of Conduct

## Our Pledge

We pledge to make our community welcoming, safe, and equitable for all.

We are committed to fostering an environment that respects and promotes the dignity, rights, and contributions of all individuals, regardless of characteristics including race, ethnicity, caste, color, age, physical characteristics, neurodiversity, disability, sex or gender, gender identity or expression, sexual orientation, language, philosophy or religion, national or social origin, socio-economic position, level of education, or other status. The same privileges of participation are extended to everyone who participates in good faith and in accordance with this Covenant.

## Encouraged Behaviors

While acknowledging differences in social norms, we all strive to meet our community's expectations for positive behavior. We also understand that our words and actions may be interpreted differently than we intend based on culture, background, or native language.

With these considerations in mind, we agree to behave mindfully toward each other and act in ways that center our shared values, including:

1. Respecting the **purpose of our community**, our activities, and our ways of gathering.
2. Engaging **kindly and honestly** with others.
3. Respecting **different viewpoints** and experiences.
4. **Taking responsibility** for our actions and contributions.
5. Gracefully giving and accepting **constructive feedback**.
6. Committing to **repairing harm** when it occurs.
7. Behaving in other ways that promote and sustain the **well-being of our community**.

## Restricted Behaviors

We agree to restrict the following behaviors in our community. Instances, threats, and promotion of these behaviors are violations of this Code of Conduct.

1. **Harassment.** Violating explicitly expressed boundaries or engaging in unnecessary personal attention after any clear request to stop.
2. **Character attacks.** Making insulting, demeaning, or pejorative comments directed at a community member or group of people.
3. **Stereotyping or discrimination.** Characterizing anyone’s personality or behavior on the basis of immutable identities or traits.
4. **Sexualization.** Behaving in a way that would generally be considered inappropriately intimate in the context or purpose of the community.
5. **Violating confidentiality**. Sharing or acting on someone's personal or private information without their permission.
6. **Endangerment.** Causing, encouraging, or threatening violence or other harm toward any person or group.
7. Behaving in other ways that **threaten the well-being** of our community.

### Other Restrictions

1. **Misleading identity.** Impersonating someone else for any reason, or pretending to be someone else to evade enforcement actions.
2. **Failing to credit sources.** Not properly crediting the sources of content you contribute.
3. **Promotional materials**. Sharing marketing or other commercial content in a way that is outside the norms of the community.
4. **Irresponsible communication.** Failing to responsibly present content which includes, links or describes any other restricted behaviors.

## Reporting an Issue

Tensions can occur between community members even when they are trying their best to collaborate. Not every conflict represents a code of conduct violation, and this Code of Conduct reinforces encouraged behaviors and norms that can help avoid conflicts and minimize harm.

When an incident does occur, it is important to report it promptly. To report a possible violation, **info@4byte.dev**

Community Moderators take reports of violations seriously and will make every effort to respond in a timely manner. They will investigate all reports of code of conduct violations, reviewing messages, logs, and recordings, or interviewing witnesses and other participants. Community Moderators will keep investigation and enforcement actions as transparent as possible while prioritizing safety and confidentiality. In order to honor these values, enforcement actions are carried out in private with the involved parties, but communicating to the whole community may be part of a mutually agreed upon resolution.

## Addressing and Repairing Harm

---

If an investigation by the Community Moderators finds that this Code of Conduct has been violated, the following enforcement ladder may be used to determine how best to repair harm, based on the incident's impact on the individuals involved and the community as a whole. Depending on the severity of a violation, lower rungs on the ladder may be skipped.

1. Warning
1. Event: A violation involving a single incident or series of incidents.
2. Consequence: A private, written warning from the Community Moderators.
3. Repair: Examples of repair include a private written apology, acknowledgement of responsibility, and seeking clarification on expectations.
2. Temporarily Limited Activities
1. Event: A repeated incidence of a violation that previously resulted in a warning, or the first incidence of a more serious violation.
2. Consequence: A private, written warning with a time-limited cooldown period designed to underscore the seriousness of the situation and give the community members involved time to process the incident. The cooldown period may be limited to particular communication channels or interactions with particular community members.
3. Repair: Examples of repair may include making an apology, using the cooldown period to reflect on actions and impact, and being thoughtful about re-entering community spaces after the period is over.
3. Temporary Suspension
1. Event: A pattern of repeated violation which the Community Moderators have tried to address with warnings, or a single serious violation.
2. Consequence: A private written warning with conditions for return from suspension. In general, temporary suspensions give the person being suspended time to reflect upon their behavior and possible corrective actions.
3. Repair: Examples of repair include respecting the spirit of the suspension, meeting the specified conditions for return, and being thoughtful about how to reintegrate with the community when the suspension is lifted.
4. Permanent Ban
1. Event: A pattern of repeated code of conduct violations that other steps on the ladder have failed to resolve, or a violation so serious that the Community Moderators determine there is no way to keep the community safe with this person as a member.
2. Consequence: Access to all community spaces, tools, and communication channels is removed. In general, permanent bans should be rarely used, should have strong reasoning behind them, and should only be resorted to if working through other remedies has failed to change the behavior.
3. Repair: There is no possible repair in cases of this severity.

This enforcement ladder is intended as a guideline. It does not limit the ability of Community Managers to use their discretion and judgment, in keeping with the best interests of our community.

## Scope

This Code of Conduct applies within all community spaces, and also applies when an individual is officially representing the community in public or other spaces. Examples of representing our community include using an official email address, posting via an official social media account, or acting as an appointed representative at an online or offline event.

## Attribution

This Code of Conduct is adapted from the Contributor Covenant, version 3.0, permanently available at [https://www.contributor-covenant.org/version/3/0/](https://www.contributor-covenant.org/version/3/0/).

Contributor Covenant is stewarded by the Organization for Ethical Source and licensed under CC BY-SA 4.0. To view a copy of this license, visit [https://creativecommons.org/licenses/by-sa/4.0/](https://creativecommons.org/licenses/by-sa/4.0/)

For answers to common questions about Contributor Covenant, see the FAQ at [https://www.contributor-covenant.org/faq](https://www.contributor-covenant.org/faq). Translations are provided at [https://www.contributor-covenant.org/translations](https://www.contributor-covenant.org/translations). Additional enforcement and community guideline resources can be found at [https://www.contributor-covenant.org/resources](https://www.contributor-covenant.org/resources). The enforcement ladder was inspired by the work of [Mozilla’s code of conduct team](https://github.com/mozilla/inclusion).
85 changes: 85 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@
# 4Byte.dev'e Katkıda Bulunma

4Byte.dev'e katkıda bulunmaya gösterdiğiniz ilgi için teşekkür ederiz!

## Nasıl Katkıda Bulunulur

### Makale Ekleme

Makaleler Markdown formatında yazılır ve `src/content/articles/` dizinine yerleştirilir.

#### Dizin Yapısı

```
src/content/articles/
├── en/ # İngilizce makaleler
└── tr/ # Türkçe makaleler
```

#### Frontmatter (Ön Madde)

Her makale aşağıdaki frontmatter bilgilerini gerektirir:

```markdown
---
lang: 'tr' # Türkçe için 'tr', İngilizce için 'en'
slug: 'makale-slug-adresi' # Slug tanımlayıcı
title: 'Makale Başlığı'
excerpt: 'Makalenin kısa açıklaması'
category: 'kategori-adi'
tags: ['etiket1', 'etiket2']
author: '@yazar' # Yazarın github kullanıcı adı
date: '2026-03-20'
views: 0
status: 'Published' # 'Published' (Yayınlanmış) veya 'Draft' (Taslak)
---

Makale içeriği buraya gelecek...
```

#### Kategoriler

Mevcut kategorileri src/data/categories.json dosyasından kontrol edebilirsiniz.

#### Etiketler

Mevcut etiketleri src/data/tags.json dosyasından kontrol edebilir veya yenilerini ekleyebilirsiniz.

Eğer yeni öğeler ekliyorsanız, veri üretiminden sonra PR iş akışında bunları renk kodlarıyla belirtmeyi ve açıklamayı unutmayın.

#### Yazım Kuralları

1. **Öz olun** - Kavramları gereksiz laf kalabalığı yapmadan net bir şekilde açıklayın
2. **Kod örnekleri kullanın** - Uygun olan yerlerde pratik örneklere yer verin
3. **Çapraz referans yapın** - İlgili makalelere bağlantı verin
4. **Gözden geçirin** - Göndermeden önce yazım ve dilbilgisi kurallarını kontrol edin
5. **Her iki dili de güncelleyin** - Mümkün olduğunda, makaleleri hem Türkçe hem de İngilizce olarak sunun

### Geliştirme

1. Depoyu (repository) fork'layın
2. Fork'unuzu klonlayın: `git clone https://github.com/KULLANICI_ADINIZ/4byte-astro.git`
3. Bağımlılıkları yükleyin: `pnpm install`
4. Bir dal (branch) oluşturun: `git checkout -b feature/yeni-ozelliginiz`
5. Değişikliklerinizi yapın
6. Lint işlemini çalıştırın: `pnpm lint`
7. Kodu formatlayın: `pnpm format`
8. Değişikliklerinizi commit'leyin
9. Fork'unuza push'layın
10. Bir Pull Request açın

### Kod Stili

- Projedeki mevcut kod kalıplarını takip edin
- Tip güvenliği için TypeScript kullanın
- Commit atmadan önce `pnpm lint` ve `pnpm format` komutlarını çalıştırın

## Sorun Bildirme

- GitHub Issues sekmesini kullanın
- Yenilerini oluşturmadan önce mevcut sorunları arayın
- Hatalar için net yeniden üretme (reproduction) adımları sağlayın

## Sorularınız mı var?

Herhangi bir sorunuz varsa GitHub'da bir tartışma açmaktan çekinmeyin.
85 changes: 85 additions & 0 deletions CONTRIBUTING_EN.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@
# Contributing to 4Byte.dev

Thank you for your interest in contributing to 4Byte.dev!

## How to Contribute

### Adding Articles

Articles are written in Markdown and placed in `src/content/articles/`.

#### Directory Structure

```
src/content/articles/
├── en/ # English articles
└── tr/ # Turkish articles
```

#### Frontmatter

Each article requires the following frontmatter:

```markdown
---
lang: 'tr' # 'tr' for Turkish, 'en' for English
slug: 'article-slug' # URL-friendly identifier
title: 'Article Title'
excerpt: 'Brief description of the article'
category: 'category-name'
tags: ['tag1', 'tag2']
author: '@author' # Author's github username
date: '2026-03-20'
views: 0
status: 'Published' # 'Published' or 'Draft'
---

Article content here...
```

#### Categories

You can check the available categories in the src/data/categories.json file.

#### Tags

You can check the available tags in the src/data/tags.json file, or you can add new one.

If you are adding new elements, don't forget to color-code and describe them in the PR workflow after data generation.

#### Writing Guidelines

1. **Be concise** - Explain concepts clearly without unnecessary fluff
2. **Use code examples** - Include practical examples where applicable
3. **Cross-reference** - Link to related articles
4. **Proofread** - Check spelling and grammar before submitting
5. **Update both languages** - When possible, provide articles in both Turkish and English

### Development

1. Fork the repository
2. Clone your fork: `git clone https://github.com/YOUR_USERNAME/4byte-astro.git`
3. Install dependencies: `pnpm install`
4. Create a branch: `git checkout -b feature/your-feature-name`
5. Make your changes
6. Run linting: `pnpm lint`
7. Format code: `pnpm format`
8. Commit your changes
9. Push to your fork
10. Open a Pull Request

### Code Style

- Follow existing code patterns in the project
- Use TypeScript for type safety
- Run `pnpm lint` and `pnpm format` before committing

## Reporting Issues

- Use the GitHub Issues tab
- Search for existing issues before creating new ones
- Provide clear reproduction steps for bugs

## Questions?

Feel free to open a discussion on GitHub if you have any questions.
Loading
Loading