Ibby Bitty Site Released

New tool allows to convert whole website to a sing URL line
09 July 2018   564

Nicholas Jitkoff, vice president of design for Dropbox, developed the Itty bitty site technology, which allows you to create web pages that are stored inside their own URL in an encoded form.

Development allows you to create single-page mini-sites. On the page, you can place text, ASCII characters and emoji in any combination. The peculiarity of the technology is that all the content is contained in the hyperlink, and hosting on the server is not required. The content of the page is encoded using the LZMA compression algorithm in a string of characters, which is appended at the end of the URL. In fact, the link is an archived site.

The developer claims that Itty bitty site provides a high degree of privacy. The content of the page is not stored on the server, and therefore no access even to the administrator. Moreover, most browsers will handle the link locally.

The maximum size of the URL depends on the capabilities of the service. Twitter or Slack can process up to 4,000 bytes, and the version of Chrome for Mac will cope with 10,000. It is possible to convert the link into a QR-code, provided its size does not exceed 2,610 bytes.

Jitkoff posted the source code for development on GitHub. The author offers several options for the practical application of Itty bitty site: to overcome the limitation of the number of characters in tweets, for placement on pages of ASCII graphics, small poems and even for application creation.

Cloudflare to Introduce Apps with Workers

Beta test of Apps and Workers joint usage by Cloudflare had begun 
19 November 2018   52

Cloudflare talked about the start of beta testing of Cloudflare Workers embedded scripts in web applications using Cloudflare Apps tools. The created solutions can be placed in the Cloudflare Marketplace store, where they will be moderated and a security check.

Application developers used Cloudflare Apps to integrate JavaScript, HTML, CSS, and modifications of Cloudflare settings such as DNS to websites. With the start of beta testing, they got the opportunity to experiment with personalization, A / B testing, security, content checking and localization.

To add code to the application, simply place the link to the script in the install.json file:

{
	"resources": [...],
	"hooks": [...],
	"workers": [{
		"src": "./worker.js"
	}]
}

The introduction of variables is also available with a link in the Workers script. They may contain the tokens necessary for installing the application.

// inside src/worker.js
addEventListener('fetch', event => {
  event.respondWith(workerFn(event.request))
  let someOptionFromInstall = INSTALL_OPTIONS.UserAgents // UserAgents was selected by siteowner in previewer
})

Cloudflare unveiled a stable version of Workers for cloud administration of web applications in JavaScript in mid-March 2018. The service allows you to deploy JS-scripts on the company's cloud network within 30 seconds. At the end of September 2018, Cloudflare launched the “key-value” repository of Workers KV. Cloudflare experts claim that Workers provides low latency data reading and allows you to create applications that are comparable in performance to content delivery networks (CDNs).