Like CodePen

Is there anything Like CodePen that can be installed on my sub-domain? The purpose is to show code demo Like code pen on my server.

You can embed Pens from CodePen on your own web pages. :slight_smile:

1 Like

That s not the solution I am looking forward.

If you’re looking for an open-source version of code-pen, I think you’ll be unlucky. I can’t imagine there being a free version.

Any Paid version that I can host on my domain?

So how exactly would the solution like Codepen differ from actual Codepen?
Do you just need to see the code and the result, or does it need interactive editing and updating results?

Sort of like code pen sir. HTML -CSS - JS and then the window also where live codes run in the half page. May be not a ditto, but similar where all such functionalities exists.

There are alternatives to CodePen that are open source, meaning you can install them locally and on your own server. JSBin is an example. Jotted looks like another option.

Just seems to me, though, that you haven’t given a good reason why embedding a Pen isn’t a perfect option for you. Seems like you’re going to a lot of trouble for no gain, but we may have missed the point, of course. :slight_smile:

1 Like

I use the PHP function highlight_file(…) to display file contents inside a formatted DIV.

http://php.net/manual/en/function.highlight-file.php

.

Actually I Want to keep all the content on my domain + I want all analysis like seeing the live code to be done on my website that too on a full screen and full width. I want every bit of user interaction on my domain. This will give me traffic and site engagement.

I think it would be easy enough to put together the basics for a DIY script. eg. this one in PHP using file_get_contents and file_put_contents

The hard part would be making it secure because it involves user supplied input - which can never be trusted.

5 Likes

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.