2021-06-07 11:40:51 +00:00
|
|
|
# Flame
|
|
|
|
|
2021-06-10 22:09:25 +00:00
|
|
|
[![JS Badge](https://img.shields.io/badge/JavaScript-F7DF1E?style=for-the-badge&logo=javascript&logoColor=black)](https://shields.io/)
|
|
|
|
[![TS Badge](https://img.shields.io/badge/TypeScript-007ACC?style=for-the-badge&logo=typescript&logoColor=white)](https://shields.io/)
|
|
|
|
[![React Badge](https://img.shields.io/badge/React-20232A?style=for-the-badge&logo=react&logoColor=61DAFB)](https://shields.io/)
|
|
|
|
|
2021-06-08 10:51:50 +00:00
|
|
|
![Homescreen screenshot](./github/_home.png)
|
|
|
|
|
2021-06-07 11:40:51 +00:00
|
|
|
## Description
|
|
|
|
Flame is self-hosted startpage for your server. It's inspired (heavily) by [SUI](https://github.com/jeroenpardon/sui)
|
|
|
|
|
|
|
|
## Technology
|
|
|
|
- Backend
|
|
|
|
- Node.js + Express
|
|
|
|
- Sequelize ORM + SQLite
|
|
|
|
- Frontend
|
2021-06-10 22:09:25 +00:00
|
|
|
- React
|
2021-06-07 11:40:51 +00:00
|
|
|
- Redux
|
|
|
|
- TypeScript
|
|
|
|
- Deployment
|
|
|
|
- Docker
|
|
|
|
|
|
|
|
## Development
|
|
|
|
```sh
|
|
|
|
git clone https://github.com/pawelmalak/flame
|
|
|
|
cd flame
|
|
|
|
|
|
|
|
# run only once
|
2021-06-08 10:51:50 +00:00
|
|
|
npm run dev-init
|
2021-06-07 11:40:51 +00:00
|
|
|
|
|
|
|
# start backend and frontend development servers
|
|
|
|
npm run dev
|
|
|
|
```
|
|
|
|
|
|
|
|
## Deployment with Docker
|
|
|
|
```sh
|
|
|
|
# build image
|
|
|
|
docker build -t flame .
|
|
|
|
|
|
|
|
# run container
|
2021-06-08 10:51:50 +00:00
|
|
|
docker run -p 5005:5005 -v <host_dir>:/app/data flame
|
2021-06-07 11:40:51 +00:00
|
|
|
```
|
|
|
|
|
|
|
|
## Functionality
|
2021-06-08 10:51:50 +00:00
|
|
|
- Applications
|
|
|
|
- Create, update and delete applications using GUI
|
|
|
|
- Pin your favourite apps to homescreen
|
|
|
|
|
|
|
|
![Homescreen screenshot](./github/_apps.png)
|
|
|
|
|
|
|
|
- Bookmarks
|
|
|
|
- Create, update and delete bookmarks and categories using GUI
|
|
|
|
- Pin your favourite categories to homescreen
|
|
|
|
|
|
|
|
![Homescreen screenshot](./github/_bookmarks.png)
|
|
|
|
|
|
|
|
- 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 13:33:06 +00:00
|
|
|
![Homescreen screenshot](./github/_themes.png)
|
|
|
|
|
|
|
|
## Usage
|
|
|
|
### Supported links for applications and bookmarks
|
|
|
|
#### 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`
|
|
|
|
- Redirect: `http://{dest}`
|