Coder Social home page Coder Social logo

jeankhawand / bewcloud Goto Github PK

View Code? Open in Web Editor NEW

This project forked from bewcloud/bewcloud

0.0 0.0 0.0 170 KB

A simpler alternative to Nextcloud and ownCloud, built with TypeScript and Deno using Fresh. ๐Ÿฆ• ๐Ÿ‹

Home Page: https://bewcloud.com

License: GNU Affero General Public License v3.0

TypeScript 94.99% CSS 0.71% Makefile 0.17% PLpgSQL 3.96% Dockerfile 0.17%

bewcloud's Introduction

bewCloud

This is the bewCloud app built using Fresh and deployed using docker compose.

Self-host it!

Check the Development section below.

NOTE: You don't need to have emails (Brevo) setup to have the app work. Those are only setup and used for email verification and future needs. You can simply make any user.status = 'active' and user.subscription.expires_at = new Date('2100-01-01') to "never" expire, in the database, directly.

NOTE 2: Even with signups disabled (CONFIG_ALLOW_SIGNUPS="false"), the first signup will work and become an admin.

Requirements

This was tested with Deno's version stated in the .dvmrc file, though other versions may work.

For the postgres dependency (used when running locally or in CI), you should have Docker and docker compose installed.

Don't forget to set up your .env file based on .env.sample.

Development

$ docker compose up # (optional) runs docker with postgres, locally
$ make migrate-db # runs any missing database migrations
$ make start # runs the app
$ make format # formats the code
$ make test # runs tests

Other less-used commands

$ make exec-db # runs psql inside the postgres container, useful for running direct development queries like `DROP DATABASE "bewcloud"; CREATE DATABASE "bewcloud";`
$ make build # generates all static files for production deploy

Structure

  • Routes defined at routes/.
  • Static files are defined at static/.
  • Static frontend components are defined at components/.
  • Interactive frontend components are defined at islands/.
  • Cron jobs are defined at crons/.
  • Reusable bits of code are defined at lib/.
  • Database migrations are defined at db-migrations/.

Deployment

Just push to the main branch.

Tentative Roadmap:

  • Dashboard with URLs and Notes
  • News
  • Contacts / CardDav
  • Calendar / CalDav
  • Tasks / CalDav
  • Files / WebDav
  • Notes / WebDav
  • Photos / WebDav
  • Desktop app for selective file sync (or potentially just rclone)
  • Mobile app for offline file sync
  • Add notes support for mobile app
  • Add photos/sync support for mobile client
  • Address TODO:s in code

bewcloud's People

Contributors

brunobernardino avatar theoisdumb avatar

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.