Skip to content

Commit

Permalink
Merge branch 'amethystnetwork-dev:main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryler4 authored Oct 3, 2024
2 parents 166ca1b + 0938efb commit 908dc9f
Show file tree
Hide file tree
Showing 2,824 changed files with 1,768 additions and 529,087 deletions.
7 changes: 5 additions & 2 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
blank_issues_enabled: false
contact_links:
- name: To create a issue join the Amethyst Network discord
url: https://discord.gg/J3VPy5Vy8x
url: https://amethystnetwork-dev.github.io/discord/invite
about: I do not want to have to deal with random useless issues on here.
- name: Heroku, Repl.it, Blocked site issues
url: https://www.youtube.com/embed/BLUkgRAy_Vo?mute=1&autoplay=1
about: Do not create issues for these.
- name: Netifly, Vercel, GitHub Pages, not working
url: https://www.youtube.com/embed/BLUkgRAy_Vo?mute=1&autoplay=1
about: This cannot work on static hosts.
about: This cannot work on static hosts.
- name: Anything about the games
url: https://github.com/amethystnetwork-dev/Incognito-gfiles
about: They are in another repo now.
22 changes: 0 additions & 22 deletions .github/ISSUE_TEMPLATE/fork.yml

This file was deleted.

43 changes: 43 additions & 0 deletions .github/workflows/docker_build.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: Create and publish a Docker image

on:
push:
branches: ["main"]

workflow_dispatch:

env:
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}

jobs:
build-and-push-image:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Log in to the Container registry
uses: docker/[email protected]
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/[email protected]
with:
tags: |
latest
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}

- name: Build and push Docker image
id: push
uses: docker/[email protected]
with:
context: .
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
node_modules
ssl/cert.*
ssl/key.*
ssl/key.*
.tmp
18 changes: 10 additions & 8 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,16 +1,18 @@
FROM node:18-alpine
FROM node:20-alpine AS base

ENV NODE_ENV=production
ENV PNPM_HOME="/pnpm"
ENV PATH="$PNPM_HOME:$PATH"

WORKDIR /app
COPY ["package.json", "pnpm-lock.yaml", "./"]
COPY ./static ./static
COPY ./src/ ./src

COPY package*.json .

RUN npm install
RUN corepack enable

COPY static static/
COPY gsource gsource/
COPY src/*.js src/
RUN --mount=type=cache,id=pnpm,target=/pnpm/store pnpm install --prod --frozen-lockfile

EXPOSE 8080

CMD ["npm", "start"]
CMD ["pnpm", "start"]
36 changes: 14 additions & 22 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# NOTICE:

You CANNOT deploy to Netifly, GitHub Pages, or Cloudflare pages. [Read more here](https://amethystnetwork-dev.github.io/docs/static-hosts).
You CANNOT deploy to Vercel, Netifly, GitHub Pages, or Cloudflare pages. [Read more here](https://amethystnetwork-dev.github.io/docs/static-hosts).

<!--
_ _ _ _ _ _ _
Expand All @@ -15,7 +15,7 @@ You CANNOT deploy to Netifly, GitHub Pages, or Cloudflare pages. [Read more here
<!-- The font is called Big, if you are wondering -->
<div align="center">
<img src="https://socialify.git.ci/amethystnetwork-dev/Incognito/image?description=1&descriptionEditable=Access%20the%20world%20wide%20web&font=Inter&forks=1&issues=1&logo=https%3A%2F%2Fraw.githubusercontent.com%2Famethystnetwork-dev%2FIncognito%2Fmain%2Fstatic%2Findex.svg&name=1&owner=1&pattern=Solid&stargazers=1&theme=Light" alt="Incognito" width="640" height="320" />
<img src="https://socialify.git.ci/amethystnetwork-dev/Incognito/image?description=1&descriptionEditable=Access%20the%20world%20wide%20web&font=Inter&forks=1&issues=1&logo=https%3A%2F%2Fraw.githubusercontent.com%2Famethystnetwork-dev%2FIncognito%2Fmain%2Fstatic%2Findex.svg&name=1&owner=1&pattern=Solid&stargazers=1&theme=Auto" alt="Incognito" width="640" height="320" />

<a href="" alt="Made with NodeJS"><img src="https://img.shields.io/badge/Made%20with-Node.JS-6DA55F?style=for-the-badge&logo=node.js&logoColor=white"></a>
<a href="https://github.com/amethystnetwork-dev/Incognito/graphs/contributors/" alt=""><img src="https://img.shields.io/github/contributors/amethystnetwork-dev/Incognito?style=for-the-badge"></a>
Expand All @@ -24,33 +24,25 @@ You CANNOT deploy to Netifly, GitHub Pages, or Cloudflare pages. [Read more here

<div align="center">
<h2>Get Started</h2>
<a>To get started, press one of the buttons below to deploy Incognito</a>
To get started, press one of the buttons below to deploy Incognito
<br>
<br>
<a href="https://render.com/deploy?repo=https://github.com/amethystnetwork-dev/Incognito"><img height="30px" src="https://img.shields.io/badge/render-4f65f1.svg?style=for-the-badge&logo=render&logoColor=46e3b7"></img></a>
<a href="https://amethystnetwork-dev.github.io/utils/deploy/heroku?repo=Incognito"><img height="30px" src="https://img.shields.io/badge/heroku-%23430098.svg?style=for-the-badge&logo=heroku&logoColor=white"></img></a>
<a href="https://amethystnetwork-dev.github.io/docs/about-replit?repo=Incognito"><img height="30px" src="https://amethystnetwork-dev.github.io/assets/replit.svg"><img></a>
<a href="https://railway.app/new/template/TNmjSs?referralCode=8zUUBB"><img height="30px" src="https://img.shields.io/badge/Railway-%234f0599.svg?style=for-the-badge&logo=railway&logoColor=white"></img></a>
<a href="https://render.com/deploy?repo=https://github.com/amethystnetwork-dev/Incognito"><img height="30px" src="https://img.shields.io/badge/render-4f65f1.svg?style=for-the-badge&logo=render&logoColor=46e3b7"></a>
<a href="https://amethystnetwork-dev.github.io/utils/deploy/heroku?repo=Incognito"><img height="30px" src="https://img.shields.io/badge/heroku-%23430098.svg?style=for-the-badge&logo=heroku&logoColor=white"></a>
<a href="https://amethystnetwork-dev.github.io/docs/about-replit?repo=Incognito"><img height="30px" src="https://amethystnetwork-dev.github.io/assets/replit.svg"></a>
<a href="https://railway.app/new/template/TNmjSs?referralCode=8zUUBB"><img height="30px" src="https://img.shields.io/badge/Railway-%234f0599.svg?style=for-the-badge&logo=railway&logoColor=white"></a>
<br>
<br>
<a>Or</a>
Or
<br>
<br>
<a href="https://amethystnetwork-dev.github.io/docs/projects/incognito/manual-deployment/#terminal-with-deno"><img src="https://img.shields.io/badge/deno%20js-000000?style=for-the-badge&logo=deno&logoColor=white" alt="Deno JS"></img></a>
<a href="https://amethystnetwork-dev.github.io/docs/projects/incognito/manual-deployment/#docker-with-nodejs"><img src="https://img.shields.io/badge/docker-%230db7ed.svg?style=for-the-badge&logo=docker&logoColor=white" alt="Docker"></img></a>
<a href="https://amethystnetwork-dev.github.io/docs/projects/incognito/manual-deployment/#terminal-with-nodejs"><img src="https://img.shields.io/badge/terminal-%23121011.svg?style=for-the-badge&logo=gnu-bash&logoColor=white" alt="Terminal"></img></a>
<a href="https://amethystnetwork-dev.github.io/docs/projects/incognito/manual-deployment/#docker-with-nodejs"><img src="https://img.shields.io/badge/docker-%230db7ed.svg?style=for-the-badge&logo=docker&logoColor=white" alt="Docker"></img></a>
<br>
<br>
<a href="https://alienhub.xyz/?utm_source=incog_gh&utm_medium=amethystnetwork">
<img src="https://alienhub.xyz/alien1.gif" width="450" height="150"></img>
</a>
</div>

## Discord Server

Press the join button to join the server:

[![Join us on Discord](https://invidget.switchblade.xyz/KA2bKyyaYS?theme=light)](https://discord.gg/KA2bKyyaYS)
[![Discord invite (click here)](https://invidget.switchblade.xyz/985982201302769765?theme=light)](https://amethystnetwork-dev.github.io/discord/invite)

## Overview

Expand All @@ -74,13 +66,13 @@ You should join the official Titanium Network Discord for official links

[![Titanium Network Discord](https://invidget.switchblade.xyz/unblock?theme=light)](https://discord.gg/unblock)

**X website is not working?**
**Who is this repo for?**

Proxies can have issues, like websites not working, websites blocking the proxy or data being locked to that website. [AlienHub](https://alienhub.xyz/?utm_medium=amethystnetwork) fixes these issues and more!
This repo is for people that want an easy way to deploy Incognito to cloud hosting services. If you just want to use Incognito and not deploy it, I recommend you get an official Incognito domain (Check above for how to do so)

**Who is this repo for?**
**Where are the game files?**

This repo is for people that want an easy way to deploy Incognito to cloud hosting services like Railway. If you just want to use Incognito and not deploy it, I recommend you get an official Incognito domain (Check above for how to do so)
They are located in [another repo](https://github.com/amethystnetwork-dev/Incognito-gfiles) because of the large file sizes.

**What proxies are used?**

Expand Down
33 changes: 0 additions & 33 deletions gsource/2048/CONTRIBUTING.md

This file was deleted.

21 changes: 0 additions & 21 deletions gsource/2048/LICENSE.txt

This file was deleted.

38 changes: 0 additions & 38 deletions gsource/2048/README.md

This file was deleted.

11 changes: 0 additions & 11 deletions gsource/2048/Rakefile

This file was deleted.

Binary file removed gsource/2048/favicon.ico
Binary file not shown.
Loading

0 comments on commit 908dc9f

Please sign in to comment.