Giter Club home page Giter Club logo

Comments (7)

carlospolop avatar carlospolop commented on July 22, 2024

I agree, unfortunately gitbook doesn't have that functionality.
However, I'm thinking about creating some main page presenting my projects and I could put that functionality in there.
For the moment feel free to follow me on twitter or linkedin as every week I share 3 random hacktricks links

from hacktricks.

oddrabbit avatar oddrabbit commented on July 22, 2024

Hi @peetKh and @carlospolop,

Maybe we can submit a feature request lto the upstream Gitbook project in order to add in this functionality, as this community may not have the expertise to pull this off. If no one does, I am more than happy to submit the request to them.

from hacktricks.

oddrabbit avatar oddrabbit commented on July 22, 2024

@carlospolop, Is the server infastructure hosted by someone else and therefore you can't make PHP files? Is this IAAS or PAAS?

I'm asking because if we can make files on the server, maybe we can embed a link in the main markdown file that links to a PHP file which redirects the user to a random page.

In that case, we wouldn't need to make any changes to the underlying Gitbook code.

If the underlying server infastructure is not accessible, then I suggest that we default to my original suggestion in submitting a feature request to Gitbook.

from hacktricks.

carlospolop avatar carlospolop commented on July 22, 2024

Hi @oddrabbit,

I cannot make PHP files, just markdown files interpreted by gitbook.
Actually, if I would just be able to add arbitrary javascript code to the book I might be able to create such functionality, but I don't think gitbook (intentionally) support something like that.
Let me know if you find another options or if you want to submit the feature request to Gitbook. However, in a few weeks I will upload a page to www.hacktricks.xyz (empty now) with some info about my projects and with a button to access a random hacktricks page also .

from hacktricks.

oddrabbit avatar oddrabbit commented on July 22, 2024

Hi @carlospolop,

Apologies for the late response; I have been preparing for my OSCP.

I just issued the feature request to Gitbook.

For some reason, the owner has disabled the Issues section so I had to add it into the Pull requests section so others have to submit issues in the Pull requests section. Simple issues have not been resolved in the project, even from 2018, so I doubt that we will get an answer but at least we asked.

Here is the Pull Request: GitbookIO/gitbook#2222

Considering that the Gitbook project may not want to cooperate, we may need to default on your project at http://www.hacktricks.xyz as you suggested. But at least we have that issue there just in case someone comes around.

Let me know if you would like me to do anything else.

Thanks.

from hacktricks.

carlospolop avatar carlospolop commented on July 22, 2024

Hey @oddrabbit,
You can already access random hacktricks pages from a button in https://www.hacktricks.xyz/
Thank you for asking gitbook for the fature

from hacktricks.

oddrabbit avatar oddrabbit commented on July 22, 2024

Hi @carlospolop,

Thanks for the notification. I'll close the Pull Request on Gitbook if this Issue has been resolved then. In the meantime, I'm all good with this Issue being closed.

Thanks.

from hacktricks.

Related Issues (20)

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.