Thank you for your interest in contributing to 4Byte.dev!
Articles are written in Markdown and placed in src/content/articles/.
src/content/articles/
├── en/ # English articles
└── tr/ # Turkish articles
Each article requires the following frontmatter:
---
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...You can check the available categories in the src/data/categories.json file.
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.
- Be concise - Explain concepts clearly without unnecessary fluff
- Use code examples - Include practical examples where applicable
- Cross-reference - Link to related articles
- Proofread - Check spelling and grammar before submitting
- Update both languages - When possible, provide articles in both Turkish and English
- Fork the repository
- Clone your fork:
git clone https://github.com/YOUR_USERNAME/4byte-astro.git - Install dependencies:
pnpm install - Create a branch:
git checkout -b feature/your-feature-name - Make your changes
- Run linting:
pnpm lint - Format code:
pnpm format - Commit your changes
- Push to your fork
- Open a Pull Request
- Follow existing code patterns in the project
- Use TypeScript for type safety
- Run
pnpm lintandpnpm formatbefore committing
- Use the GitHub Issues tab
- Search for existing issues before creating new ones
- Provide clear reproduction steps for bugs
Feel free to open a discussion on GitHub if you have any questions.