Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
c525d42
feat(update): remove kb api and migrate kb to custom swr provider
CodeMeAPixel Feb 12, 2025
28c9fa7
feat(update): FUNDING.yml
CodeMeAPixel Feb 12, 2025
17b53c2
feat(update): legal pages fetch logic
CodeMeAPixel Feb 12, 2025
4834f9b
feat(update): update next config and fix globe bug
CodeMeAPixel Feb 12, 2025
d212ba2
feat(update): implement custom caching logic for kb
CodeMeAPixel Feb 13, 2025
1555c01
feat(update): custom logger
CodeMeAPixel Feb 13, 2025
bfa581a
feat(update): cache handler
CodeMeAPixel Feb 13, 2025
3ceee42
feat(update): bump tsconfig target to latest
CodeMeAPixel Feb 13, 2025
e389ec7
fix(cache): improve logger usage in cache
CodeMeAPixel Feb 13, 2025
9d5b5a5
feat(update): migrate status page/api
CodeMeAPixel Feb 13, 2025
c7f6f8a
feat(add): LICENSE
CodeMeAPixel Feb 13, 2025
32cdf91
feat(add): new ui components
CodeMeAPixel Feb 13, 2025
789cfc1
feat(update): improve reviews section and add fallback data
CodeMeAPixel Feb 14, 2025
cfdfe46
feat(add): Files supporting our Open-Source Move
CodeMeAPixel Feb 14, 2025
0545e2f
feat(add): yes
CodeMeAPixel Feb 14, 2025
4a412c7
feat(update): remove unnecessary headers
CodeMeAPixel Feb 14, 2025
98d254b
feat(update): build workflow
CodeMeAPixel Feb 14, 2025
7699a63
feat(add): env details to README
CodeMeAPixel Feb 14, 2025
fa0114e
feat(update): contributing guide
CodeMeAPixel Feb 14, 2025
0da4f1b
feat(update): readme
CodeMeAPixel Feb 14, 2025
9f8c0fa
feat(update): Contibuting Guide
CodeMeAPixel Feb 14, 2025
27003c1
feat(update): status page stuff
CodeMeAPixel Feb 14, 2025
94ce7e5
feat(update): advantages section
CodeMeAPixel Feb 14, 2025
6cc6117
feat(update): workflows
CodeMeAPixel Feb 14, 2025
ea039c0
feat(update): fix build command
CodeMeAPixel Feb 14, 2025
a55d143
feat(update): add missing dep
CodeMeAPixel Feb 14, 2025
4682b2d
feat(update): next config
CodeMeAPixel Feb 14, 2025
550ebda
feat(update): compatibility issues
CodeMeAPixel Feb 14, 2025
14212b9
feat(update): file layout
CodeMeAPixel Feb 14, 2025
030c25c
feat(update): start updating pages for new file layout
CodeMeAPixel Feb 14, 2025
528870d
feat(update): more layout updates
CodeMeAPixel Feb 14, 2025
3454d27
feat(update): more file layout updates
CodeMeAPixel Feb 15, 2025
c3182d4
feat(update): think this is the last of it:
CodeMeAPixel Feb 15, 2025
5ffc2ca
feat(update): finished file layout changes
CodeMeAPixel Feb 15, 2025
8c1cef1
feat(remove): unused next auth deps
CodeMeAPixel Feb 15, 2025
7bdd0b3
feat(remove): unused announcements
CodeMeAPixel Feb 15, 2025
845e2a6
feat(add): build status badge for prod and dev builds
CodeMeAPixel Feb 15, 2025
d749fd3
feat(update): bunch of ui fixes and changes
CodeMeAPixel Feb 16, 2025
c5f086b
feat(update): more ui fixes and changes
CodeMeAPixel Feb 16, 2025
ddbe1f5
feat(update): improved cache handler
CodeMeAPixel Feb 16, 2025
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
18 changes: 9 additions & 9 deletions .env.template
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
## NEXT AUTH
NEXTAUTH_SECRET="",

## HETRIX TOOLS
HETRIX_API_KEY="",
## TAWK.TO
TAWK_TO_EMBED_URL=

## GITHUB API
GITHUB_API_URL="https://api.github.com/repos",
GITHUB_PAT="",
GITHUB_API_URL=https://api.github.com/repos
GITHUB_PAT=

## DISCORD WEBHOOK
ERROR_HOOK_ID="",
ERROR_HOOK_TOKEN="",
ERROR_HOOK_ID=
ERROR_HOOK_TOKEN=

## UptimeRobot
UR_API_KEY=
2 changes: 2 additions & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
github: NodeByteHosting
custom: nodebyte.host
31 changes: 31 additions & 0 deletions .github/ISSUE_TEMPLATE/BUG_REPORT.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
---
name: Bug report
about: Create a report to help us improve
title: ''
labels: ''
assignees: ''

---

**Describe the bug**
A clear and concise description of what the bug is.

**To Reproduce**
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error

**Expected behavior**
A clear and concise description of what you expected to happen.

**Screenshots**
If applicable, add screenshots to help explain your problem.

**Desktop (please complete the following information):**
- Browser [e.g. Chrome, Safari]
- Version [e.g. 22]

**Additional context**
Add any other context about the problem here.
20 changes: 20 additions & 0 deletions .github/ISSUE_TEMPLATE/FEATURE_REQUEST.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
name: Feature request
about: Suggest an idea for this project
title: ''
labels: ''
assignees: ''

---

**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

**Describe the solution you'd like**
A clear and concise description of what you want to happen.

**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.

**Additional context**
Add any other context or screenshots about the feature request here.
26 changes: 26 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
**(Please remove this line only before submitting your PR. Ensure that all relevant items are checked before submission.)**

## Describe your changes

Briefly describe the changes you made and their purpose.

## Issue number

Mention the issue number(s) this PR addresses (e.g., #123).

## Please ensure all items are checked off before requesting a review. "Checked off" means you need to add an "x" character between brackets so they turn into checkmarks.

- [ ] Tests are passing
- [ ] Documentation has been updated
- [ ] Code has been linted
- [ ] (Do not skip this or your PR will be closed) I deployed the application locally.
- [ ] (Do not skip this or your PR will be closed) I have performed a self-review and testing of my code.
- [ ] I have included the issue # in the PR.
- [ ] I have labelled the PR correctly.
- [ ] The issue I am working on is assigned to me.
- [ ] I made sure font sizes, color choices etc are all referenced from the theme.
- [ ] My PR is granular and targeted to one specific feature.

### Screenshots (if applicable)

[Attach any screenshots if applicable]
7 changes: 3 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
name: Build
name: Build Website
on:
push:
branches: [master]
branches: [production, development]

jobs:
build:
build_test:
runs-on: self-hosted
steps:
- uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # tag=v3
Expand All @@ -15,4 +15,3 @@ jobs:
node-version: 20.18.0
- run: bun install
- run: bun run build
- run: systemctl restart nodebyte-main
18 changes: 18 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Deploy Website
on:
push:
branches: [production]

jobs:
deploy:
runs-on: self-hosted
steps:
- uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # tag=v3
with:
ref: ${{ github.head_ref }}
- uses: actions/setup-node@eeb10cff27034e7acf239c5d29f62154018672fd # tag=v3
with:
node-version: 20.18.0
- run: bun install
- run: bun run build
- run: systemctl restart nodebyte-main
52 changes: 52 additions & 0 deletions .github/workflows/semver.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
name: Release CI

on:
workflow_dispatch:
inputs:
semver:
description: 'Select version bump type: major, minor, patch'
required: false
default: ''
prerelease:
description: 'Pre-release identifier (e.g., alpha, beta, rc.1). Leave empty for stable releases.'
required: false
default: ''
custom_version:
description: 'Specify a custom version. This will override the semver and prerelease inputs.'
required: false
default: ''

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: 14

- name: Set Git identity
run: |
git config --local user.email "toxic.dev09@gmail.com"
git config --local user.name "Toxic Dev"

- name: Version bump
run: |
if [ -n "${{ github.event.inputs.custom_version }}" ]; then
npm version ${{ github.event.inputs.custom_version }} -m "Bump version to %s"
elif [ -n "${{ github.event.inputs.semver }}" ]; then
if [ -z "${{ github.event.inputs.prerelease }}" ]; then
npm version ${{ github.event.inputs.semver }} -m "Bump version to %s"
else
npm version ${{ github.event.inputs.semver }}-${{ github.event.inputs.prerelease }} -m "Bump version to %s"
fi
fi

- name: Push changes
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GIT_TOKEN }}
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ src/configs/nextauth.ts
src/app/(pages)/api/auth
src/providers/SessionProvider.tsx
src/app/(pages)/api/auth/[...nextauth].ts
src/components/Header/components/Login.tsx
src/app/(pages)/auth

# testing
Expand All @@ -35,6 +36,7 @@ yarn-debug.log*
yarn-error.log*

# local env files
.env
.env*.local

# vercel
Expand Down
31 changes: 17 additions & 14 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,38 +4,41 @@
"WillLuke.nextjs.addTypesOnSave": true,
"WillLuke.nextjs.hasPrompted": true,
"cSpell.words": [
"nextui",
"ahooks",
"appcues",
"BLOGPOST",
"Chauhan",
"clsx",
"Cobe",
"Comeau",
"Gajjar",
"KARRY",
"Knowuser",
"Mixpanel",
"Nuxt",
"Parag",
"Saleshandy",
"CordX",
"Userback",
"ZUMTHOR",
"ahooks",
"appcues",
"clsx",
"eslintcache",
"frontmatter",
"Gajjar",
"gnored",
"headlessui",
"KARRY",
"Knowuser",
"mapbox",
"Mixpanel",
"networkidle",
"nextui",
"Nuxt",
"opengraph",
"Parag",
"qout",
"raxter",
"rehype",
"Saleshandy",
"semibold",
"tailwindcss",
"Tawk",
"Trustpilot",
"typecheck",
"unist",
"useportal",
"usequerystate"
"usequerystate",
"Userback",
"ZUMTHOR"
]
}
29 changes: 29 additions & 0 deletions CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# Code of Conduct

## Our Pledge

We as members, contributors, and leaders pledge to make participation in our community a harassment-free experience for everyone, regardless of age, body size, visible or invisible disability, ethnicity, sex characteristics, gender identity and expression, level of experience, education, socio-economic status, nationality, personal appearance, race, religion, or sexual identity and orientation.

## Our Standards

Examples of behavior that contributes to creating a positive environment include:

- Using welcoming and inclusive language
- Being respectful of differing viewpoints and experiences
- Gracefully accepting constructive criticism
- Focusing on what is best for the community
- Showing empathy towards other community members

Examples of unacceptable behavior include:

- The use of sexualized language or imagery and unwelcome sexual attention or advances
- Trolling, insulting/derogatory comments, and personal or political attacks
- Public or private harassment
- Publishing others' private information, such as a physical or electronic address, without explicit permission
- Other conduct which could reasonably be considered inappropriate in a professional setting

## Enforcement

Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at support@nodebyte.co.uk. All complaints will be reviewed and investigated and will result in a response that is deemed necessary and appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.

Project maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.
47 changes: 47 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
# Contributing to NodeByte Hosting

Thank you for considering contributing to NodeByte Hosting! We welcome contributions from the community.

## How to Contribute

1. **Fork the repository**: Click the "Fork" button at the top right of this page.
2. **Clone your fork**:
```sh
git clone https://github.com/your-username/nodebyte-site.git
```
3. **Create a new branch**:
```sh
git checkout -b feature-branch
```
4. **Make your changes**: Implement your feature or fix.
5. **Commit your changes**:
```sh
git commit -m 'Add some feature'
```
6. **Push to the branch**:
```sh
git push origin feature-branch
```
7. **Open a pull request**: Go to the repository on GitHub and click "New pull request".

## Code Style

Please follow the existing code style and conventions. Ensure your code passes all tests and lint checks.

## Reporting Issues

If you find a bug or have a feature request, please create an issue on GitHub.

## Special Instructions

- **Legal and Knowledge Base Page Content**: All changes to legal and knowledge base page content should be committed via the [NodeByteHosting/assets](https://github.com/NodeByteHosting/assets) repository.

- **Blog Post and Docs Page Changes**: Any blog post changes, new posts, and docs page changes can be committed to the `src/content` directory in this repository.

- **Contribution/Commit Branches**: All new contributions/commits can be pushed directly to the development branch or a new branch created by you during the pull request process.

- **Production Branch**: The production branch is protected by branch rules and requires a PR before any merges/commits can happen

## Code of Conduct

Please note that this project is released with a [Contributor Code of Conduct](CODE_OF_CONDUCT.md). By participating in this project you agree to abide by its terms.
Loading
Loading