Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Enhance Static Website with Anti-Crawling, Encrypted Blog Access, and Simplified Theme Customization #2633

Closed
SajimJC opened this issue Nov 26, 2024 · 5 comments
Milestone

Comments

@SajimJC
Copy link

SajimJC commented Nov 26, 2024

Feature Request: Enhance Static Website with Anti-Crawling, Encrypted Blog Access, and Simplified Theme Customization

1. Anti-Crawling Mechanisms

  • Add a robots.txt file to control access for legitimate crawlers.
  • Implement frontend techniques (e.g., honeypots, rate-limiting) to deter malicious bots.
  • Optionally, detect User-Agent strings to block common crawler tools like python-requests.

2. Encrypted Blog Content Access

  • Enable blog posts to be loaded dynamically, with their content encrypted.
  • Optionally, provide a simple mechanism for unlocking content, such as a password input or user action (e.g., a button click).

3. Simplified Homepage Theme Customization

  • Introduce a mechanism for users to easily switch or customize homepage color schemes.
  • Support common color modes such as:
    • Default mode
    • Dark mode
    • Custom themes (controlled via configuration variables for background, text, etc.)

I hope the developers will consider addressing these features to enhance the functionality and user experience of the project.

@rjzupkoii
Copy link
Collaborator

  1. robots.txt is something that will get added in a future update, but most of the other techniques aren't possible given how GitHub.io works.
  2. These are interesting ideas, but beyond the scope of what Academic Pages is intended to do.
  3. Theme skins are already in the backlog (see theme skin #137, How to change the theme skin? #851, and toggle between dark and light mode #911)

@rjzupkoii rjzupkoii added the enhancement An enhancement. label Nov 28, 2024
@rjzupkoii rjzupkoii added this to the v0.9 milestone Nov 28, 2024
@SajimJC
Copy link
Author

SajimJC commented Nov 29, 2024

Thank you for your response. I have also considered the following issues:

  1. Even in static web pages, robots.txt cannot effectively prevent web crawlers. It can only serve as a simple declaration to protect our legitimate rights.

  2. However, many GitHub users nowadays do not respect the originality of the authors. They often plagiarize others' work without proper attribution. This is the main reason I want to set up a password for accessing my blog.

  3. I hope to create a detailed README to explain this in depth.

@rafisics
Copy link

  1. Theme skins are already in the backlog (see theme skin #137, How to change the theme skin? #851, and toggle between dark and light mode #911)

Any update on theme skin (dark/light mode)?

@rjzupkoii
Copy link
Collaborator

@rafisics Not at this time, usually I prioritize bug fixes over features.

@rjzupkoii rjzupkoii removed the enhancement An enhancement. label Jan 31, 2025
@rjzupkoii
Copy link
Collaborator

The Wiki has been updated with a page on creating robots.txt and the foundations for light/dark themes are are now in place, so most of this issue is either complete our out of scope for the project.

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

No branches or pull requests

3 participants