Coder Social home page Coder Social logo

flox1an / blossom-server Goto Github PK

View Code? Open in Web Editor NEW

This project forked from hzrd149/blossom-server

0.0 0.0 0.0 303 KB

Blobs stored simply on mediaservers

License: MIT License

JavaScript 20.28% TypeScript 65.59% HTML 13.03% Dockerfile 1.09%

blossom-server's Introduction

๐ŸŒธ Blossom-server

blossom-server is a Typescript implementation of a Blossom Server

Running with npx

This app is also packaged as an npm module which you can easily run

# copy the example config
wget https://raw.githubusercontent.com/hzrd149/blossom-server/master/config.example.yml -O config.yml
# run using npx
npx blossom-server-ts

Or you can install the module using npm or yarn

# npm
npm install
./node_modules/.bin/blossom-server-ts

# yarn
yarn add blossom-server-ts
yarn run blossom-server-ts

Running with docker

An example config file can be found here

# create data volume
docker volume create blossom_data
# run container
docker run -v blossom_data:/app/data -v $(pwd)/config.yml:/app/config.yml -p 3000:3000 ghcr.io/hzrd149/blossom-server:master

You can also run it using docker compose with the docker-compose.yml file

Running from source

This project uses yarn to manage dependencies. It needs to be installed first in order to build the app

Next clone the repo, install the dependencies, and build

git clone https://github.com/hzrd149/blossom-server.git
cd blossom-server
yarn install
cd admin && yarn install && cd ../
yarn build

Next copy the config and modify it

cp config.example.yml config.yml
nano config.yml

And finally start the app

yarn start
# or
node .

Once the server is running you can open http://localhost:3000 to access the server

blossom-server's People

Contributors

hzrd149 avatar sebdeveloper6952 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.