GithubHelp home page GithubHelp logo

joincomet / comet Goto Github PK

View Code? Open in Web Editor NEW
280.0 8.0 39.0 556.81 MB

All-in-one chat and forums for communities.

Home Page: https://joincomet.app

License: Mozilla Public License 2.0

JavaScript 49.65% TypeScript 48.61% CSS 0.72% SCSS 0.21% HTML 0.80% Dockerfile 0.01%
nodejs javascript html css tailwindcss typescript graphql typegraphql digitalocean react reactjs electron yarn-workspaces vite discord comet forums reddit mikro-orm urql

comet's Introduction

Screenshot

All-in-one chat and forums for communities.

Known active forks: https://github.com/gudfhr95/stelllar

Tech Stack

Frontend

Backend

Join our Discord server (mostly inactive)

Development Instructions

Frontend

Development

Start dev server:

  • yarn run dev:web

Production

The frontend is a React app, and can be deployed in many ways. joincomet.app is using GitHub Pages in this repo, but another good option is Cloudflare Pages

Build frontend:

  • yarn run build:web

Environment variables:

  • VITE_API_DOMAIN (domain server is running on i.e. api.joincomet.app)

Backend

Development

Start dev server with below environment variables:

  • yarn run dev:server

Environment variables:

  • DATABASE_URL (defaults to postgresql://postgres:password@localhost:5432 if left blank)
  • ACCESS_TOKEN_SECRET (required, secret used for encrypting passwords)
  • REDIS_URL (optional, in-memory will be used if not provided)

The following environment variables are related to S3 file uploads and are required for file uploads to work. Comet has only been tested with DigitalOcean Spaces, but may also work with AWS S3.

  • MEDIA_DOMAIN (domain media is hosted on i.e. media.joincomet.app)
  • BUCKET (name of bucket, DO Spaces requires this to be same as MEDIA_DOMAIN i.e. media.joincomet.app)
  • AWS_ENDPOINT (endpoint bucket is hosted on i.e. nyc3.digitaloceanspaces.com)
  • AWS_ACCESS_KEY_ID (access key ID provided by DO Spaces/AWS)
  • AWS_SECRET_ACCESS_KEY (secret access key provided by DO Spaces/AWS)

Production

A Docker image is available at Docker Hub. joincomet. app uses DigitalOcean App Platform to deploy the Docker image. Run the Docker image with the above environment variables.

comet's People

Contributors

insuusvenerati avatar owaissiddiqui avatar yayvery avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

comet's Issues

2FA

Add two-factor authentication support

Require code before destructive actions such as deleting account and deleting planets

Emojis

Emoji picker for posts/comments/messages

Use Twemoji for displaying emojis

Folders

Finish and release folders

Error .env

Hello. I tried to install your project, created a file .env in the root directory, returns an error on startup
ACCESS_TOKEN_SECRET environment variable missing. Shutting down.

Online status

Online/away/do not disturb/offline

Do not disturb should disable notifications

Light mode

Add light/dark toggle button and light mode styles

Search

  • Search messages (channels/dms/groups)
  • Search posts (feed)
  • Search planets (/explore)

Pin comments

Requires ManageComments permission OR author of post

Cannot GET /

Hi

I git cloned cometx and then run build-commands

Result

Via web browser:

Cannot GET /
Cannot get /multiverse

I refresh then pages load but partially. I don't have any cache on my side. Also browser private mode

Web console output:

CometLogoSvg.svg
[HTTP/2 404 Not Found 79ms]

_nuxt/pages/index.26bc142.js
[HTTP/2 404 Not Found 93ms]

_nuxt/pages/index/index.5be4ee4.js
[HTTP/2 404 Not Found 83ms]
_nuxt/pages/index.26bc142.js” was blocked due to MIME type (“text/html”) mismatch (X-Content-Type-Options: nosniff)

_nuxt/pages/index/index.5be4ee4.js” was blocked due to MIME type (“text/html”) mismatch (X-Content-Type-Options: nosniff).

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.