worldwideweb 0.0.6 → 0.0.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/.travis.yml ADDED
@@ -0,0 +1,15 @@
1
+ sudo: false
2
+ language: node_js
3
+ env:
4
+ - PUBLISH_FROM_NODE_VERSION=8.4
5
+ node_js:
6
+ - "6.0"
7
+ - "8.4"
8
+ - "node"
9
+ before_script:
10
+ - npm run build
11
+ after_success:
12
+ - ./.travis_publish
13
+ cache:
14
+ directories:
15
+ - node_modules
@@ -0,0 +1,30 @@
1
+ #!/bin/bash
2
+ REPO_NAME="melvincarvalho/worldwideweb"
3
+ PUBLICATION_BRANCH=gh-pages
4
+
5
+ # Only publish from a specific Node version
6
+ if [ "$TRAVIS_NODE_VERSION" != "$PUBLISH_FROM_NODE_VERSION" ]; then exit; fi
7
+ # Only publish from the main repository's master branch
8
+ if [ "$TRAVIS_REPO_SLUG" != "$REPO_NAME" ] || [ "$TRAVIS_BRANCH" != "master" ] || [ "$TRAVIS_PULL_REQUEST" != "false" ]; then exit; fi
9
+ echo -e "Building $PUBLICATION_BRANCH...\n"
10
+
11
+ # Checkout the branch
12
+ REPO_PATH=$PWD
13
+ pushd $HOME
14
+ git clone --quiet --depth=1 --branch=$PUBLICATION_BRANCH https://${GH_TOKEN}@github.com/$REPO_NAME publish 2>&1 > /dev/null
15
+ cd publish
16
+
17
+ # Don't update if already at the latest version
18
+ if [[ `git log -1 --pretty=%B` == *$TRAVIS_COMMIT* ]]; then exit; fi
19
+
20
+ # Update pages
21
+ rm -r * 2> /dev/null
22
+ cp -r $REPO_PATH/dist .
23
+
24
+ # Commit and push latest version
25
+ git add .
26
+ git config user.name "Travis"
27
+ git config user.email "travis@travis-ci.org"
28
+ git commit -m "Update to $TRAVIS_COMMIT."
29
+ git push -fq origin $PUBLICATION_BRANCH 2>&1 > /dev/null
30
+ popd
package/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
- The MIT License (MIT)
1
+ MIT License
2
2
 
3
- Copyright (c) 2016 Melvin Carvalho
3
+ Copyright (c) 2023 nostrapps
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
package/README.md CHANGED
@@ -1,5 +1,67 @@
1
- # worldwideweb
1
+ <div align="center">
2
+ <img src="logo.png" alt="browsr logo" width="150">
3
+ <h1>browsr</h1>
4
+ </div>
2
5
 
3
- see : https://www.w3.org/People/Berners-Lee/WorldWideWeb.html
6
+ <div align="center">
7
+ <i>A minimalistic browser for the Nostr protocol built with Electron</i>
8
+ </div>
4
9
 
5
- ![Screenshot](https://raw.githubusercontent.com/melvincarvalho/worldwideweb/master/image/screensnap2_24c.gif)
10
+ ---
11
+
12
+ <div align="center">
13
+ <h4>Documentation</h4>
14
+ </div>
15
+
16
+ ---
17
+
18
+ [![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/nostrapps/browsr/blob/gh-pages/LICENSE)
19
+ [![npm](https://img.shields.io/npm/v/browsr)](https://npmjs.com/package/browsr)
20
+ [![npm](https://img.shields.io/npm/dw/browsr.svg)](https://npmjs.com/package/browsr)
21
+ [![Github Stars](https://img.shields.io/github/stars/nostrapps/browsr.svg)](https://github.com/nostrapps/browsr/)
22
+
23
+ ## Introduction
24
+
25
+ **browsr** is a lightweight, easy-to-use, and privacy-focused browser designed specifically for the Nostr protocol. Built using Electron, browsr provides a clean and intuitive interface for navigating the decentralized web, allowing users to explore and interact with the Nostr ecosystem.
26
+
27
+ ## Features
28
+
29
+ - Minimalistic user interface
30
+ - Support for Nostr protocol
31
+ - Address bar for easy navigation
32
+ - Built with Electron for cross-platform compatibility
33
+
34
+ ## Getting Started
35
+
36
+ To get started with browsr, follow these simple steps:
37
+
38
+ 1. Clone the repository:
39
+
40
+ ```bash
41
+ git clone https://github.com/nostrapps/browsr.git
42
+ ```
43
+
44
+ 2. Install the dependencies:
45
+
46
+ ```bash
47
+ cd browsr
48
+ npm install
49
+ ```
50
+
51
+ 3. Start the application:
52
+
53
+ ```bash
54
+ npm start
55
+ ```
56
+
57
+ ## Contributing
58
+
59
+ We welcome contributions from the community! If you'd like to contribute to the development of browsr, please follow our [contributing guidelines](CONTRIBUTING.md).
60
+
61
+ ## Support
62
+
63
+ For support and questions, please open an issue on the [GitHub repository](https://github.com/nostrapps/browsr/issues).
64
+
65
+ ## License
66
+
67
+ browsr is licensed under the [MIT License](LICENSE).