Skip to content

Conversation

Zhangfen21082
Copy link

massCode Web Viewer

Authentication Setup: Supports GitHub OAuth authentication with configurable allowed user list. File upload requires API Token (can be generated in settings interface)
image

Homepage Features: Supports local upload or loading from server (currently via script upload, future integration with massCode settings interface considered)

image

Data Page: Maintains consistent layout with massCode, offering only viewing and filtering capabilities. No editing functionality as the core goal is cross-device accessibility

image

Settings Interface: Configurable server port, application parameters and security policies. Automatic restart after configuration changes

image

Overview

Web application that enables remote access to massCode snippets using only the massCode.db file.

Features

  • Browse and search massCode snippets via web interface
  • GitHub OAuth authentication & API token support
  • Dark/Light theme with responsive design
  • Automatic database backup
  • Cross-platform compatibility

Usage

  1. Clone this repository:
git clone <repository-url>
cd masscodeWeb
  1. Install dependencies:
pip install -r requirements.txt
  1. Configure the application: (Or you can use the web setup interface, the application will restart automatically.)
cp config.example.json config.json
# Edit config.json with your settings
  1. Run the application:
python app.py

@antonreshetov
Copy link
Member

Thank you for this PR and for your time.

After reviewing it, I have decided not to merge it. This is a significant change that introduces a new technology stack (Python) and a new feature without prior discussion. It is essential to first open a discussion to agree on the architecture and design to ensure they align with the project vision and maintain consistency with the main application. This is reflected in https://github.com/massCodeIO/massCode/blob/master/CONTRIBUTING.md#discuss-first

I hope you understand my decision and are willing to collaborate further on the discussion.

@Zhangfen21082
Copy link
Author

Thank you for your thoughtful response and for taking the time to review my PR. I completely understand your decision and the importance of discussing significant changes like this one first. My primary goal was to create this tool for my own use and I thought it might be helpful to share it back. I appreciate you pointing me to the contributing guidelines. I'll make sure to open a discussion first for any future contributions. Thanks again for your guidance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants