3 Star 9 Fork 6

Gitee 极速下载 / Topaz

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
此仓库是为了提升国内下载速度的镜像仓库,每日同步一次。 原始仓库: https://github.com/Naresh1318/Topaz
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README

Topaz

Actions Status

simplyServe

A configurable, easy to maintain personal website

Live example: https://naresh1318.com

After working on a project the last thing I usually think of is updating my personal website. Adding links, images, description and pushing changes to the server every single time I work on something new is kinda boring especially if you are lazy like me. What do we do when we're lazy? we automate things. Thereby giving us time to, idk, complain about our laziness. I designed Topaz to automatically update as much of my website as possible.

Recent updates:

  • Added ability to write and publish blogs
  • Revamped home, project and blog pages

Here's what it can currently do:

  1. Automatically fetch public repos from your github account

simplyServe

Projects from github

  1. Admin page that lets you easily add blogs and publication details

simplyServe

Add blogs and publications details

  1. Choose what gets shown

simplyServe

Manage what gets shown

  1. Ability to modify/write content using markdown

  2. Customize website by editing theme.json file

{
  "name": "Naresh Nagabushan",
  "profile_picture_url": "https://files.naresh1318.com/public/Me/IMG_2831_low.jpg",
  "nav_bar_footer": {
      "github": {
        "link": "https://github.com/Naresh1318",
        "icon": "fa-github"
      },
      "medium": {
        "link": "https://medium.com/@rnaresh.n",
        "icon": "fa-medium"
      },
      "linkedin": {
        "link": "https://www.linkedin.com/in/naresh-nagabushan-2946b013a",
        "icon": "fa-linkedin"
      },
      "twitter": {
        "link": "https://twitter.com/Naresh_Reddy_",
        "icon": "fa-twitter"
      }
  }
}
  1. Mobile friendly (currently working on this)

simplyServe

Mobile friendly

Here are the things that I'm still working on:

  • Ability to publish and write blogs using markdown

Install

Super easy as always. Clone before you start!

  1. Edit data/theme.json file to reflect what you want. Here's another example:
{
  "name": "Naresh Nagabushan",
  "profile_picture_url": "https://files.naresh1318.com/public/Me/IMG_2831_low.jpg",
  "nav_bar_footer": {
      "github": {
        "link": "https://github.com/Naresh1318",
        "icon": "fa-github"
      },
      "medium": {
        "link": "https://medium.com/@rnaresh.n",
        "icon": "fa-medium"
      },
      "linkedin": {
        "link": "https://www.linkedin.com/in/naresh-nagabushan-2946b013a",
        "icon": "fa-linkedin"
      },
      "twitter": {
        "link": "https://twitter.com/Naresh_Reddy_",
        "icon": "fa-twitter"
      }
  }
}
  1. Generate a github token by visiting this link: https://github.com/settings/tokens and select the repo checkbox. Give it a name if you want and copy the token.

  2. cd into the project root dir and paste the key into a keys.txt file

echo "token <your key>" >> keys.txt

**Note: ** Do not ignore the "token " prefix

  1. Install docker if you don't have it already using this link: https://docs.docker.com/install

  2. Add an admin account

    • Modify Dockerfile under project root:

         ENV USERNAME "<username>"
         ENV PASSWORD "<password>"
  3. Build your image:

    docker build -t <image name>:<tag> .

    Here's how mine looks:

    docker build -t topaz:latest .
  4. Run your image:

    docker run -p <port to forward>:5000 -v absolute path to data dir in project:/app/data/ <image name>:<tag>

    Here's mine:

    docker run -p 4000:5000 -v /home/naresh/Projects/Topaz/data/:/app/data/ topaz:latest
    
  5. Finally, go to localhost:<port forwarded to> on your browser

  6. You can access the login page using localhost:<port forwarded to>/login. Example localhost:4000/login. Login using the username and password you setup earlier.

Note: You could also modify the docker-compose.yml file to install topaz

Concluding thoughts

  1. Feel free to do a pull request if you fix bugs
  2. Email me rnaresh.n@gmail.com if you have any suggestions!

空文件

简介

Topaz 是一个开源的个人网站建站程序,界面简洁漂亮,灵活配置,易于管理,支持响应式 展开 收起
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
Python
1
https://gitee.com/mirrors/Topaz.git
git@gitee.com:mirrors/Topaz.git
mirrors
Topaz
Topaz
master

搜索帮助