ProductPromotion
Logo

Open.Source

made by https://0x3d.site

GitHub - TobySuch/Shifter: A simple, self-hosted file-sharing web app, powered by Django
A simple, self-hosted file-sharing web app, powered by Django - TobySuch/Shifter
Visit Site

GitHub - TobySuch/Shifter: A simple, self-hosted file-sharing web app, powered by Django

GitHub - TobySuch/Shifter: A simple, self-hosted file-sharing web app, powered by Django


Shifter is a simple self-hosted file-sharing web app built using Django and Tailwind. It allows you to quickly and easily upload files and share download links with others.

Features:

  • Upload files and share download links with others.
  • Upload multiple files and automatically create a zip archive.
  • Files are automatically deleted once they expire.
  • Manage your uploaded files, delete them early.
  • Create multiple accounts to allow others to upload files.
  • Admin interface for managing site settings such as maximum file size and expiry time.

Built using:

Running in production

This project is still in development and may not be suitable to use in production yet depending on your requirements. Some features are incomplete or non-existent. Existing features are subject to change and may not be backwards compatible. If you would like to use this project in production, please be aware of this and proceed with caution, especially when you update. Non-backwards compatible changes will be listed in the release notes.

Before you begin, make sure you have installed Docker and Docker Compose on your system. If you're not sure how to do this, refer to the Docker documentation for instructions.

By default, the docker-compose.yml will use the latest image from GHCR. However it still requires some config files from this repository, and the relative paths are important. This will be improved in the future.

  1. Download or clone this repository.
  2. Make a copy of the .env EXAMPLE file and name it .env. In your new copy, make sure DEBUG is set to 0, and change any values that are set to CHANGEME to the appropriate values for your deployment.
  3. In the .env file, update the DJANGO_ALLOWED_HOSTS and CSRF_TRUSTED_ORIGINS values to match your deployment.
  4. Start the containers using the following command:
docker compose -f docker/docker-compose.yml up
  1. To create an admin user, run the following command and follow the prompts:
docker compose -f docker/docker-compose.yml exec web python manage.py createsuperuser
  1. After creating the admin user, you will be able to log into the site using the credentials you entered.

Using Postgresql

By default, Shifter uses SQLite for its database. If you would like to use Postgresql instead, you can do so by following these steps:

  1. In the docker-compose.yml file, uncomment out the db service.
  2. In the .env file, make sure to change the DATABASE variable to postgresql.
  3. Ensure the other postgres variables are set to the appropriate values for your deployment. SQL_HOST and SQL_PORT usually won't need changing if you are using the default postgres configuration from the docker-compose.yml file.

Installation Instructions (development):

These instructions are for setting up the project in development mode which may aid you in contributing. Before you begin, make sure you have installed Docker and Docker Compose on your system. If you're not sure how to do this, refer to the Docker documentation for instructions.

  1. Download or clone this repository.
  2. Make a copy of the .env EXAMPLE file and name it .env.dev. In your new copy, make sure DEBUG is set to 1, and change any values that are set to CHANGEME to the appropriate values for your development environment.
  3. In the .env.dev file, add values for the following variables: DJANGO_SUPERUSER_EMAIL and DJANGO_SUPERUSER_PASSWORD. These will be used to create an admin user when the containers are started. For example:
[email protected]
DJANGO_SUPERUSER_PASSWORD=CHANGEME
  1. Build and start the development containers using the following command:
docker compose -f docker/dev/docker-compose.dev.yml up --build
  1. Once the containers are running, you should be able to access the site in your web browser at 127.0.0.1:8000. By default, the admin user will automatically be created and you will be able to log in using the credentials you entered in the .env.dev file.

If you would like contribute to this project, please read the contributing guidelines for more information.

Articles
to learn more about the open-source concepts.

Resources
which are currently available to browse on.

mail [email protected] to add your project or resources here 🔥.

FAQ's
to know more about the topic.

mail [email protected] to add your project or resources here 🔥.

Queries
or most google FAQ's about Open-Source.

mail [email protected] to add more queries here 🔍.

More Sites
to check out once you're finished browsing here.

0x3d
https://www.0x3d.site/
0x3d is designed for aggregating information.
NodeJS
https://nodejs.0x3d.site/
NodeJS Online Directory
Cross Platform
https://cross-platform.0x3d.site/
Cross Platform Online Directory
Open Source
https://open-source.0x3d.site/
Open Source Online Directory
Analytics
https://analytics.0x3d.site/
Analytics Online Directory
JavaScript
https://javascript.0x3d.site/
JavaScript Online Directory
GoLang
https://golang.0x3d.site/
GoLang Online Directory
Python
https://python.0x3d.site/
Python Online Directory
Swift
https://swift.0x3d.site/
Swift Online Directory
Rust
https://rust.0x3d.site/
Rust Online Directory
Scala
https://scala.0x3d.site/
Scala Online Directory
Ruby
https://ruby.0x3d.site/
Ruby Online Directory
Clojure
https://clojure.0x3d.site/
Clojure Online Directory
Elixir
https://elixir.0x3d.site/
Elixir Online Directory
Elm
https://elm.0x3d.site/
Elm Online Directory
Lua
https://lua.0x3d.site/
Lua Online Directory
C Programming
https://c-programming.0x3d.site/
C Programming Online Directory
C++ Programming
https://cpp-programming.0x3d.site/
C++ Programming Online Directory
R Programming
https://r-programming.0x3d.site/
R Programming Online Directory
Perl
https://perl.0x3d.site/
Perl Online Directory
Java
https://java.0x3d.site/
Java Online Directory
Kotlin
https://kotlin.0x3d.site/
Kotlin Online Directory
PHP
https://php.0x3d.site/
PHP Online Directory
React JS
https://react.0x3d.site/
React JS Online Directory
Angular
https://angular.0x3d.site/
Angular JS Online Directory