Git Product home page Git Product logo

community's Introduction

Go+ Community written in Go+

Build Status Go Report Card GitHub release Coverage Status GoDoc

🧳 Features

Go+ Community written in Go+ and Yap, support Go+ Community development.

🚀 How to run

  1. Prepare golang and goplus environment.
  1. Prepare for your own config
  • Clone a file named .env from .env_temp in the cmd/gopcomm directory of the project.
  • Modify the .env file to your own configuration.
  1. Run the project
  • Run the project with the following command:
gop run .
  • Open the browser and enter the address: http://localhost:8080 or GOP_COMMUNITY_ENDPOINT in your .env file.

📦 Contribute

  1. Fork the repository to your local repo

  2. Config code linter

    // install pre-commit
    pip install pre-commit
    
    // config code linter in pre-commit hook
    pre-commit install
  3. Modify your own code

  4. Commit your code

  5. Create a pull request

Note: Please check the PR brach is mvp-20240119 or not.

community's People

Contributors

aofei avatar baihhh avatar carlji avatar dependabot[bot] avatar huangsihao7 avatar ironicbo avatar kasey0727 avatar linjie7674 avatar liuscraft avatar motongxue avatar nnnnn319 avatar wu-jj avatar xhyqaq avatar xushiwei avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

community's Issues

1.23-1.26 sprint planning

1.23-1.26 sprint planning

Peer Review

Article section

Markdown editing

  • Modify markdown editing page, nested in gop community header and footer. 2 @nnnnn319
  • support compiling into html to support gop to display and run 2 @nnnnn319
  • markdown editor page design 1 @Kasey0727

User Interface

  • interact with the account subsystem, add the interface to get user information, and consider supporting rpc. 2 @IRONICBo @wu-jj
  • Support wechat login, and wechat share. @wu-jj @xhyqaq

Video Player Part

  • support video player embedding from media source, and add subtitle file logic 3 @xhyqaq

Yap framework

  • support yap middleware injection 1 @xhyqaq
  • yap middleware unified user processing, and security features 1 @IRONICBo @wu-jj
  • error page redirect, support automatic redirect to 5xx/2xx/4xx error page. @xhyqaq @Kasey0727
  • Update zap to xlog.

CI/CD processing

  • support code formatter in CI check.
  • test machine environment variable configuration support 1 @linjie7674

1.15-1.19 Project Schedule

Description

We need to set up the tasks and scheduling for each Task, each task need to be associated with one or multi PRs.

Peer Review

Task

  1. Account & User Module - @wu-jj @xhyqaq
  • Implement account sdk in goplus community.
  • Implement uuid storage.
  • Implement article share.
  1. Article Module - @Baihhh
  • Implement article creation, editing, and deletion functionality.
  • Article list view functionality.
  • Article details view functionality.
  • Support article translation with translation module. @IRONICBo
  1. Markdown Support - @nnnnn319
  • Article editor supports Markdown syntax with cherry-markdown.
  • Save markdown preview functionality, save to QiNiu Object Storage or local storage. @Baihhh @xhyqaq
  • Support goplus highlight.
  • Support Video markdown tag. @IRONICBo @xhyqaq
  1. Translation Functionality - @IRONICBo
  • Implement translation of markdown articles.
  • Implement batch translation in long text translation.
  • Support video to text.
  • Support text to audio.
  1. Media Module - @xhyqaq
  • Users can upload and delete media files.
  • Media file display functionality.
  • Media file download functionality.
  1. User Interface - @Kasey0727
  • Design and implement user interface in yap html.
  • Design and implement article interface in yap html.
  • Design and implement article list(home) interface in yap html.

Everyone is expected to complete their part by the end of this week, and submit their code and test reports. If you encounter any issues or need help during the development process, please raise it in the issue promptly.

Bug: Video bug list here

  • Media(Video/Images) will be fully loaded, we need to use page query to reduce request count.

  • image

  • Support load video with cover and video source.

Get video cover from frontend(@nnnnn319) or QiNiu storage?

bug: add article

bug: When adding acticle, the cover display has some proplem
image

bug: After adding an article successfully, there is a problem with the redirected page.
image

enhance: update article viewer page

We've updated the reading page, but it's a little strange to view at the moment.

Maybe we take a cue from Medium's style and bring user information and likes to the center of the page.

image image

2.18-2.23 sprint planning

2.18-2.23 sprint planning

Peer Review

Article section

  • Support categorized view in home. @Baihhh
  • Fix editor page issues. @Baihhh

Markdown editing

User Interface

Video Player Part

  • Intergration generate video to text task, and support custom video player. @IRONICBo

Yap framework and web

CI/CD processing

Go+ doc

Reference repo: https://github.com/golang/pkgsite

Go+ Vscode extensions

  • Fix language server issues. @LiusCraft
  • Fix goplus slow compilation issues in the Windows environment. @LiusCraft

1.29-2.2 sprint planning

1.29-2.2 sprint planning

Peer Review

Article section

Markdown editing

  • Modify markdown editing page, nested in gop community header and footer. @nnnnn319
  • Support custom video player. @nnnnn319
  • Support submit article info with popup windows. @nnnnn319

User Interface

Video Player Part

  • support video player embedding from media source, and add subtitle file logic. @xhyqaq @nnnnn319
  • Intergration Video To Text task. @IRONICBo

Yap framework

Community clean up

  • Move gox logic code to internal/core @wu-jj

CI/CD processing

2.4-2.8 sprint planning

2.4-2.8 sprint planning

Peer Review

Article section

Markdown editing

  • Fix goplus markdown component. @nnnnn319
  • Modify markdown editing page, nested in gop community header and footer. @nnnnn319
  • Update custom video player. @nnnnn319

User Interface

Video Player Part

  • support video player embedding from media source, and add subtitle file logic. @xhyqaq @nnnnn319
  • Intergration Video To Text function. @IRONICBo
  • Convert text with timestamp to WebVTT, and save to storage. @IRONICBo
  • Intergration generate video to text task, and support custom video player. @IRONICBo

Yap framework and web

CI/CD processing

bug: the header of edit_yap.html

  • If {{ template "header" .}} (line 58) is deleted, it will cause problems on this page. Besides, according to UI design draft, there is no such header in layout_yap.html.
  • If possible, please modify the content of layout_yap.html according to the header of home_yap.html to maintain the unity of page style. @LiusCraft

Bug: Search with none value

What happened:

Search error when search box is empty.

What you expected to happen:

When search box is empty, return all blogs.

How to reproduce it (as minimally and precisely as possible):

All.

Anything else we need to know?:

image

Environment:

All.

enhance: support admin viewer.

For the security consideration of Release version, we support that articles are not disclosed by default when uploading, and users with admin privileges need to choose to disclose them manually.

bug: user info page not data

problem

The user's information was not displayed correctly, and the console output an error about the avatar
userId: 47062832
微信截图_20240219093429

expectant

微信截图_20240219093449

env info

system: windows
browser: chrome、edge
community version: dev, 2024/2/19 latest
userid: 47062832

2.26-3.1 sprint planning

2.26-3.1 sprint planning

Peer Review

Article section

  • Add category in article submitting and support categorized view in home. @Baihhh
  • Fix article issues. @Baihhh
  • Support view and like counting @Baihhh @Kasey0727
  • Support private articles view. @IRONICBo

Markdown editing

User Interface

CI/CD processing

  • Support PR preview.

Go+ doc

Reference repo: https://github.com/golang/pkgsite

Go+ Vscode extensions

  • Fix language server issues. @LiusCraft
  • Fix goplus slow compilation issues in the Windows environment. @LiusCraft

Go+ Engineering

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.