Freenet Org Website Development Notes

Overview

Freenet Org Website Development Notes

Overview

This is the repository for the Freenet project website. It is built on the Kweb framework in Kotlin, and is hosted on Google Cloud. There is a staging site at https://staging.freenet.org/, and the live site is at https://freenet.org/. Pushes to the staging branch will be automatically deployed to staging, while pushes to the production branch will go live.

Prerequisites

  1. A Recent Java Development Environment
  2. Gradle Build Tool
  3. IntelliJ IDEA (optional but highly recommended)

Setting up

  1. Clone the repository, two options:
    1. Command Line
      $ git clone [email protected]:freenet/freenetorg-website.git
    2. IntelliJ IDEA
      1. File -> New -> Project from Version Control -> Git
      2. Enter the URL of the repository, [email protected]:freenet/freenetorg-website.git
  2. Open the project in IntelliJ IDEA
  3. Create a new run configuration
    1. Run -> Edit Configurations...
    2. Click the + button and select Application
    3. Name the configuration freenet.org website
    4. Set the Main class to org.freenet.website.MainKt
    5. Set environment variables to FREENET_SITE_LOCAL_TESTING=true
      • This will use dummy data so no connection to the database is required
  4. Run the configuration
  5. Open a browser and navigate to http://localhost:8080/

Pull Requests

To submit improvements create a pull request against the staging branch.

You might also like...
A simple Notes Android app
A simple Notes Android app

Taskie - A Note Taking MVVM Application! Designed a simple Notes Android app following features A simple Notes Android app following features Single a

Easy Note: Building a Notes app using MVVM, JetPack Compose with a clean multi-module architecture approach.
Easy Note: Building a Notes app using MVVM, JetPack Compose with a clean multi-module architecture approach.

Easy Note Easy Note: Notes app using JetPack Compose and MVVM with a clean architecture approach. This app shows the usage of the new Navigation Archi

A simple and completely secured notes android app
A simple and completely secured notes android app

Notes Our very first project A simple and completely secured notes app Your data is stored in a completely isolated mechanism which minimizes the risk

An educational android app that provides services like notes, online videos and visualization calculator to learn and understand deep concepts of DSA.
An educational android app that provides services like notes, online videos and visualization calculator to learn and understand deep concepts of DSA.

Aldo ALDO is a free education app for the young programmers who are desiring to master the concepts of Data Structure and Algorithms. ALDO offers prac

BlueNote-Android - an android app that provides simple notes and answer
BlueNote-Android - an android app that provides simple notes and answer

BlueNote AnswerSheet Blue Note is an android app that provides simple notes and

Note-Taking-App - Android application which can be used to take notes
Note-Taking-App - Android application which can be used to take notes

Android application which can be used to take notes.The application uses Recycle

Android-Study-Jams-BSIOTR - NotaRank - Easy notes taking app for students
Android-Study-Jams-BSIOTR - NotaRank - Easy notes taking app for students

Android Study Jams BSIOTR Notarank : Notes Taking app Problem Statements The env

A notes taking app.
A notes taking app.

NoteDroid A simple android app written in Kotlin to take notes and be productive. This app was built under Android Study Jams 2021 for students to lea

GOD - Goal of the day is the notes app which tracks your daily tasks, most important tasks & monthly goals
GOD - Goal of the day is the notes app which tracks your daily tasks, most important tasks & monthly goals

GOD - Goal of the day GOD - Goals of the day Problem Statement: People always face problems in finding their goals and keeping track over a period. Th

Comments
  • Not

    Not "hydrating" HTML with text

    When I visit http://staging.freenet.org/ I momentarily just see the bullet points before the page renders properly.

    Looking at the page source, it looks like the text of the HTML isn't being populated in the initial render:

       <div id="K7" class="ui text center aligned container" background-color="e8e8e8">
             <div id="K8" class="ui text left aligned container">
                <div id="K9">
                   <h1 id="Ka" class="ui text"></h1>
                   <h2 id="Kb" class="ui text"></h2>
                </div>
                <br id="Kc">
    
    bug 
    opened by sanity 6
  • Add run configuration to VCS

    Add run configuration to VCS

    This PR setups an IntelliJ run configuration as described in the README, and checks it into git.

    A popular place to store this file is .idea/runConfigurations(would need to be whitelisted in gitignore). I just placed the file where IntelliJ defaulted to putting it.

    opened by Derek52 0
  • Misc feedback 20220924

    Misc feedback 20220924

    • [ ] Seperate donation page
    • [ ] All wallet addresses should be in code fields styled in the general sense of GitHubs model and as such also be copyable fields to make it easier to use them
    • [ ] Style each options as a separate block, standard slightly rounded corners + hovering increases contrast
    • [ ] Maybe add a mostly opaque background image ( clipped ) of the currency's theming as well as use their logo as a field indicator, considering that people that use it will know what it is anyways, add alt / title attributes for those that don't
    • [ ] News, seperate page
    • [ ] make each news item it's own block
    • [ ] use theming to make items identifyable, such as youtube videos
    • [ ] for multiple sources like yt / vimeo, use a split theme
    • [ ] place the date in one corner, the delta since then in the other

    Software

    • [ ] refer to Fred only by classic, link to it as a header item, but not in anything else to avoid rebranding confusion

    community

    • [ ] round icons ( background ) + logo for twitter , github , reddit , matrix
    • [ ] don't link to fred on this page, if needed make a dedicated 'classic' page for any and all fred content

    Header

    • [ ] consider something along the lines of https://about.google/intl/ALL_us/products/
    • [ ] 'Declare your digital independence' would work with the split design and you could color declare & independence for flair

    Background

    • [ ] If you go with light mode, don't use a gray tone, makes it look depressed.

    From Reddit

    • [x] Top margin is too small compared to left.
    • [x] Bottom margin isn’t there at all.
    • [ ] The crypto addresses spill over to the right on mobile.
    enhancement 
    opened by sanity 0
  • non-errors being logged as errors

    non-errors being logged as errors

    Looking at the logs in Google Cloud, here is an example log entry:

    {
      "textPayload": "[main] INFO Application - Responding at http://0.0.0.0:8080",
      "insertId": "r7iddfioc0p12ds0",
      "resource": {
        "type": "k8s_container",
        "labels": {
          "location": "us-east1",
          "cluster_name": "freenet-org-east1",
          "pod_name": "freenet-org-staging-6bd8c784dd-grvkg",
          "namespace_name": "freenetorg",
          "project_id": "freenet-353920",
          "container_name": "freenet-org-app-staging"
        }
      },
      "timestamp": "2022-09-17T17:29:00.064010148Z",
      "severity": "ERROR",
      "labels": {
        "compute.googleapis.com/resource_name": "gk3-freenet-org-east1-nap-qxu2i4zq-61f7e03d-ttwd",
        "k8s-pod/pod-template-hash": "6bd8c784dd",
        "k8s-pod/app": "freenet-org-staging"
      },
      "logName": "projects/freenet-353920/logs/stderr",
      "receiveTimestamp": "2022-09-17T17:29:04.819376748Z"
    }
    

    Note that the SEVERITY is ERROR even though this is an INFO level log message. Is this because its being logged to stderr?

    bug 
    opened by sanity 1
Owner
The Freenet Project
Declare your Digital Independence
The Freenet Project
New version of my Android app that shows you popular movies using themoviedb.org API.

New version of my Android app that shows you popular movies using themoviedb.org API. Using Modern Android Develpment skills like Kotlin, Room, Retrofit, Hilt, coroutines, Flow and Jetpack Compose.

Gemma Lara Savill 0 Apr 21, 2022
NewsApp based on NewsApi.org

NewsApp A simple app that is gives articles and breaking news from news sources and blogs across the web. Used technologies MVVM, Retrofit, Navigation

Zokirjon 1 Nov 28, 2021
Play casual chess on lichess.org via voice commands

Lichess-by-Voice lichess.org is a cost-free, ad-free chess server. Lichess, as well as this app, is Open Source. The app connects to your Lichess acco

Ralf Stephan 14 Sep 7, 2022
An android client application for the awesome kanji learning website wanikani.com

End of Life This project has reached EOL status. It will no longer be updated, patched, or supported. If you are interested in continuing the work, fe

İhsan Işık 507 Nov 12, 2022
Simple Android web-view-based application. The primary purpose is to show the website in Kiosk mode.

Kiosk mode app Simple Android web-view-based application. The primary purpose is to show the website in Kiosk mode. By default, the app works in Scree

Mykola Kichatov 1 Oct 25, 2022
Android app to show my clone of the Tesla website.

TeslaRoadster Android app to show my clone of the Tesla website. Shows ability to use HTML5 in Android Apps Shows how drawer is implemented Shows embe

Chris Athanas 1 Dec 27, 2021
IND appointment checker helps you to find some available slots in IND website.

IND Appointment Checker What is IND? The Immigration and Naturalisation Service (IND) assesses all residence permit applications from the people who w

Ufuk Halis 3 Oct 18, 2022
Simple Notes app demonstrates modern Android development with Hilt, Material Motion, Coroutines, Flow, Jetpack (Room, ViewModel) based on MVVM architecture.

Simple Notes app demonstrates modern Android development with Hilt, Material Motion, Coroutines, Flow, Jetpack (Room, ViewModel) based on MVVM architecture.

Aravind Chowdary 2 Sep 3, 2022
From UI Proposal to Code :notes::arrow_forward:

Music Player: From UI Proposal to Code This is a prototype made for the article. This is not a real music player and don't expect it is. Some develope

André Mion 3.5k Dec 30, 2022
A simple textfield for adding quick notes without ads.

Simple Notes A simple textfield for adding quick notes. Need to take a quick note of something to buy, an address, or a startup idea? Then this is the

Simple Mobile Tools 670 Dec 31, 2022