2021-06-07 13:40:51 +02:00
# Flame
2021-06-11 00:09:25 +02:00
[](https://shields.io/)
[](https://shields.io/)
2021-06-14 12:13:38 +02:00
[](https://shields.io/)
2021-06-11 00:09:25 +02:00
[](https://shields.io/)
2021-06-08 12:51:50 +02:00

2021-06-07 13:40:51 +02:00
## Description
2021-06-18 14:12:17 +02:00
Flame is self-hosted startpage for your server. Its design is inspired (heavily) by [SUI ](https://github.com/jeroenpardon/sui ). Flame is very easy to setup and use. With built-in editors it allows you to setup your very own appliaction hub in no time - no file editing necessary.
2021-06-07 13:40:51 +02:00
## Technology
- Backend
- Node.js + Express
- Sequelize ORM + SQLite
- Frontend
2021-06-11 00:09:25 +02:00
- React
2021-06-07 13:40:51 +02:00
- Redux
- TypeScript
- Deployment
- Docker
## Development
```sh
2021-06-18 14:12:17 +02:00
# clone repository
2021-06-07 13:40:51 +02:00
git clone https://github.com/pawelmalak/flame
cd flame
# run only once
2021-06-08 12:51:50 +02:00
npm run dev-init
2021-06-07 13:40:51 +02:00
# start backend and frontend development servers
npm run dev
```
2021-06-18 14:12:17 +02:00
## Building Docker images
2021-06-07 13:40:51 +02:00
```sh
2021-06-18 14:12:17 +02:00
# build image for amd64 only
2021-06-07 13:40:51 +02:00
docker build -t flame .
2021-06-18 14:12:17 +02:00
# build multiarch image for amd64, armv7 and arm64
# building failed multiple times with 2GB memory usage limit so you might want to increase it
docker buildx build \
--platform linux/arm/v7,linux/arm64,linux/amd64 \
-f Dockerfile.multiarch \
-t flame:multiarch .
```
## Deployment with Docker
```sh
2021-06-07 13:40:51 +02:00
# run container
2021-06-18 14:12:17 +02:00
docker run -p 5005:5005 -v /path/to/data:/app/data flame
2021-06-07 13:40:51 +02:00
```
## Functionality
2021-06-08 12:51:50 +02:00
- Applications
- Create, update and delete applications using GUI
- Pin your favourite apps to homescreen

- Bookmarks
- Create, update and delete bookmarks and categories using GUI
- Pin your favourite categories to homescreen

- Weather
- Get current temperature, cloud coverage and weather status with animated icons
- Themes
- Customize your page by choosing from 12 color themes
2021-06-11 15:33:06 +02:00

## Usage
2021-06-13 01:06:42 +02:00
### Supported URL formats for applications and bookmarks
2021-06-11 15:33:06 +02:00
#### Rules
- URL starts with `http://`
- Format: `http://www.domain.com` , `http://domain.com`
- Redirect: `{dest}`
- URL starts with `https://`
- Format: `https://www.domain.com` , `https://domain.com`
- Redirect: `https://{dest}`
- URL without protocol
- Format: `www.domain.com` , `domain.com` , `sub.domain.com` , `local` , `ip` , `ip:port`
2021-06-18 14:12:17 +02:00
- Redirect: `http://{dest}`
## Support
If you want to support development of Flame and my upcoming self-hosted and open source projects you can use the following link:
[](https://www.paypal.com/paypalme/pawelmalak)