Coder Social home page Coder Social logo

ordinary-dev / phoenix Goto Github PK

View Code? Open in Web Editor NEW
3.0 1.0 1.0 1.13 MB

Self-hosted start page without the extra stuff

License: MIT License

CSS 9.93% Go 87.80% Makefile 1.09% Dockerfile 1.18%
homepage self-hosted startpage docker no-javascript golang

phoenix's Introduction

Phoenix

Go Report Card

Screenshot

Self-hosted start page without the extra stuff.

Features

  • No javascript
  • Authorization support
    • SSO via Trusted Header Auth (Reverse Proxy)
  • Font Awesome integration
  • Multiple styles
  • Export and import

Configuration

Service settings can be set through environment variables.

Variable Description Default
P_DBPATH Path to the sqlite database. Docker: /var/lib/phoenix/db.sqlite3
P_SECRETKEY A long and random secret string used for authorization.
P_LOGLEVEL Log level settings: debug, info, warning, error, fatal warning
P_HEADERAUTH Enable Trusted Header Auth (SSO) false
P_DEFAULTUSERNAME Data for the first user.
P_DEFAULTPASSWORD Data for the first user.
P_SECURECOOKIE Controls the "secure" option for a token cookie. true

Appearance settings:

Variable Description Default
P_TITLE Website title Phoenix
P_FONTFAMILY The font used on the site. Inserted directly into css. sans-serif

Docker-compose example

services:
  phoenix:
    image: ghcr.io/ordinary-dev/phoenix
    volumes:
      - phoenix:/var/lib/phoenix
    ports:
      - 80:8080
    environment:
      P_SECRETKEY: "your-random-string"
      P_DEFAULTUSERNAME: "admin"
      P_DEFAULTPASSWORD: "super-password"
    restart: unless-stopped

volumes:
  phoenix:

Icons

You can use the free version of Font Awesome.

The name of the icon must be specified in the following form: set name/icon name, for example: brands/github or regular/credit-card.

phoenix's People

Contributors

dependabot[bot] avatar ordinary-dev avatar prologic avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

Forkers

prologic

phoenix's Issues

Feedback

Been looking for a "Start Page" or "App Directory" of sorts for all the self-hosted apps and services I run and manage (which of which I've written myself). Came across your project and tried it out locally. It "just works" ๐Ÿ‘Œ Nice! ๐Ÿฅณ

For me to use this seriously in production (open to contributions) I would want to see a few things:

  • Support for Single-Sign-On (SSO), ideally via Trusted Header Auth with something like Authelia in front, See: https://www.authelia.com/integration/trusted-header-sso/introduction/
    • Or support for OAuth2 or OpenID Connect
  • Support for"App Icons". Perhaps even "tiles" as a UX option?
  • Some way of adding "default links / apps" so authorized users can add their own (if they wish) but always get a set of pre-defined defaults created by the admin.

Thanks!

500 error, no logs

Hey! ๐Ÿ‘‹

I'm not very familiar with Gin, and don't normally use any web frameworks myself in my projects. Since some ~8hr ago, my phoenix instance started reporting 500 errors for every request. I'm not able to bring it back online in any way. I checked the database with sqlite and it appears to be fine. Near as I can tell there are also no logs either. Is this failing deep within Gin somewhere? How? Why all of a sudden? How does one even debug this?!

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.