Comments (3)
Thank you for your feedback @faried. I implemented some the changes you proposed. (The ActivityPub tables in the init.sql
file are not yet used anywhere in the code, I have committed them already to iterate over the structure a bit)
One of the problems you encountered is due to the fact that I'm using a load balancer in front of the application (see why below) which listens on port 80 for the host in HOSTNAME
. I probably should document this. You can change add in your config:
API_URL=http://localhost:3001/api
Besides that I think the problems you encountered running the app could be solved by a recent commit where I started using godotenv. Now if the .env
or .env.{dev,qa,prod}
files exist in your run directory, they are loaded without requiring to export all the values beforehand. So now it would suffice to run make run
I won't integrate the port changes you made, because I designed this application as a TLS agnostic application, basically relying on the load balancer to handle HTTPS.
This would allow someone to run multiple applications on different ports in the same environment and round-robin the proxy connections. In the same idea, but on a longer term, the frontend and api packages will evolve into being their own separate applications that will need to be run at the same time. This will most likely be handled by listening on different ports, but I'll see when I get there.
So, in conclusion, please try again with a more recent version (past commit bc39961) and let me know what problems you still encounter.
from brutalinks.
Thanks. I removed my changes, pulled, and got 0281345. It works now.
Do you have a roadmap for littr? A list of features you'd like it to have before people can use it publicly?
from brutalinks.
I have a roadmap in my head, but unfortunately I'm lazy at everything else but programming when it comes to a project.
A pseudo-roadmap can be seen in the milestones section.
What I would like to get done before doing a "soft launch" is:
Adding OAuth support to AP endpoint.
Frontend authenticating as OAuth application to AP endpoint.
Full frontend functionality provided through AP (C2S).
Adding federation (S2S) support between littr.me instances for submissions and comments.
Adding support for some basic moderation mechanisms (reporting, blocking, etc).
As a bonus I would like also to abstract most of the ActivityPub handlers and middlewares to the go-ap/activitypub.
from brutalinks.
Related Issues (20)
- Compile assets in the binary for non-dev environments
- Hard crash due to logging HOT 1
- Error bootstrapping a database HOT 7
- Add fedbox docker to the setup HOT 1
- Repo name HOT 8
- Validate HTML HOT 3
- Registration/login appears broken HOT 5
- Improve .env.example and readme HOT 6
- Cannot start littr: "Internal Server Error - Unable to load the Service's inbox" HOT 7
- Issue getting littr and fedbox to communicate with each other correctly HOT 8
- Registration or submission fails: Error: Post "/outbox": unsupported protocol scheme "" HOT 25
- Add i18n for others languages support HOT 4
- Invisible Add button on mobile HOT 2
- Link to the flagship instance on github HOT 4
- Installation instructions HOT 2
- Unable to install go-littr -- stuck at FedBox error HOT 4
- "Discussion" labels confusing for self-posts HOT 1
- Name sounds like a shock site. HOT 1
- Feature requests HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from brutalinks.