# Announcement: Pijul WebView

**URL:** https://discourse.pijul.org/t/announcement-pijul-webview/208
**Category:** Community
**Created:** [May 8, 2018, 1:41pm UTC](https://discourse.pijul.org/t/announcement-pijul-webview/208 "2018-05-08T13:41:47Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![yory](https://avatars.discourse-cdn.com/v4/letter/y/da6949/32.png) [@yory](https://discourse.pijul.org/u/yory)
#### Post date: [May 8, 2018, 1:41pm UTC](https://discourse.pijul.org/t/announcement-pijul-webview/208/1 "2018-05-08T13:41:47Z")

</div>

I wrote a first draft of the interactive history browser I’m planning, similar to gitk and hgtk. It will make exploring the history of a pijul project much much faster.

You can check it out on the [nest](https://nest.pijul.com/yory/pijul_webview).

---

<div class="post-metadata">

### Author: ![lthms](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.pijul.org/lthms/32/124_2.png) [@lthms](https://discourse.pijul.org/u/lthms)
#### Post date: [May 8, 2018, 2:00pm UTC](https://discourse.pijul.org/t/announcement-pijul-webview/208/2 "2018-05-08T14:00:54Z")

</div>

That is great, thanks!

My personal configuration is that `pijul` is an alias, which does not work currently. You might be considering adding an option to set an environment variable to override `pijul` path.

Any way, I’ve been able to make your demo work by just hard coding the patch which works in my case. I will definitely keep a lok at your work, and remains available if you have any question, or specific feature you would like to see `pijul` gets.

---

<div class="post-metadata">

### Author: ![yory](https://avatars.discourse-cdn.com/v4/letter/y/da6949/32.png) [@yory](https://discourse.pijul.org/u/yory)
#### Post date: [May 8, 2018, 2:27pm UTC](https://discourse.pijul.org/t/announcement-pijul-webview/208/3 "2018-05-08T14:27:19Z")

</div>

Fixed!

Well, the only thing I really miss is already planned for fixing, the ability to view patches, and the performance issue that makes pijul unusable on some of my personal projects which contain large versioned databases. When the new algorithm is implemented, I’ll probably be able to migrate all my projects to pijul!

---

<div class="post-metadata">

### Author: ![yory](https://avatars.discourse-cdn.com/v4/letter/y/da6949/32.png) [@yory](https://discourse.pijul.org/u/yory)
#### Post date: [May 13, 2018, 12:31pm UTC](https://discourse.pijul.org/t/announcement-pijul-webview/208/4 "2018-05-13T12:31:19Z")

</div>

After struggling a bit with gtk, I decided to move from gtk to a simple local server serving html+css. Like gtk web and hg web.  
It will allow me to quickly design a more pleasant and flexible ui.

For now internet explorer is not supported because it doesn’t support “details” elements

---

<div class="post-metadata">

### Author: ![yory](https://avatars.discourse-cdn.com/v4/letter/y/da6949/32.png) [@yory](https://discourse.pijul.org/u/yory)
#### Post date: [May 15, 2018, 7:43pm UTC](https://discourse.pijul.org/t/announcement-pijul-webview/208/5 "2018-05-15T19:43:50Z")

</div>

I found out that `pijul patch` actually outputs some useful data about the changes. Probably when I tried it didn’t output anything because I actually tried it on a tag.

Anyway, I implemented a rough server with basic functionality. Click on any commit and it will show the patch!

There’s still plenty to implement, starting from converting the patch to a traditional diff, but this is already getting quite good, so check it out!

---

<div class="post-metadata">

### Author: ![lthms](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.pijul.org/lthms/32/124_2.png) [@lthms](https://discourse.pijul.org/u/lthms)
#### Post date: [May 19, 2018, 9:45am UTC](https://discourse.pijul.org/t/announcement-pijul-webview/208/6 "2018-05-19T09:45:01Z")

</div>

Awesome! Do you think you could setup a “demo” webpage?

---

<div class="post-metadata">

### Author: ![yory](https://avatars.discourse-cdn.com/v4/letter/y/da6949/32.png) [@yory](https://discourse.pijul.org/u/yory)
#### Post date: [May 19, 2018, 10:29am UTC](https://discourse.pijul.org/t/announcement-pijul-webview/208/7 "2018-05-19T10:29:30Z")

</div>

Sadly not! Anything beyond static websites is completely beyond my skills, I don’t have the confidence to deal with real life servers, security, networks and stuff. The (super simple) flask app I put together is explicitely for local usage on trusted networks (when I run it, it tells me “WARNING: Do not use the development server in a production environment. Use a production WSGI server instead.”).

Actually, I didn’t wrote it as a competitor to the nest, but:

1. as a tool for bringing something similar to the nest to lone developers working on local only projects (in particular, the ability to quickly view the details of a commit when browsing the log)
2. maybe as a playground for testing features I’d like in the nest, like comments integrated in the repo itself.

I’d preferred to do it as a desktop application, but abandoned the idea because of the complexity and limited flexibility of the ui compared to html+css.

(Though you are free to reuse it if it’s of some worth to you, I’d be glad!, i’m releasing it as libre software).

---

<div class="post-metadata">

### Author: ![fyr](https://avatars.discourse-cdn.com/v4/letter/f/b5ac83/32.png) [@fyr](https://discourse.pijul.org/u/fyr)
#### Post date: [March 15, 2019, 7:55pm UTC](https://discourse.pijul.org/t/announcement-pijul-webview/208/8 "2019-03-15T19:55:32Z")

</div>

_apologies if the necropost infringes on community norms_

Fortunately that’s what one-off sandboxed VPSes are for! [http://pijul.ō.co:5000/](http://pijul.xn--4fa.co:5000/)

Getting this to run was a bit of an adventure, as I suppose is reflected in the top commits displayed; not sure what the `- (Invalid UTF-8)` is about, I think the patches in question are all file moves? This is on pijul **0.11.1** off a vanilla `cargo install`(and not like, the webview’s fault or anything).

~~ETA: aaand it’s down! I think I failed to run it under `screen` and my home connection timed out, will be able to restart that later today P:~~ [resolved]
